Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't call zoomLevels multiple times on the same viewer #6

Open
iangilman opened this issue Sep 13, 2018 · 0 comments
Open

Can't call zoomLevels multiple times on the same viewer #6

iangilman opened this issue Sep 13, 2018 · 0 comments

Comments

@iangilman
Copy link

If I want to change the zoom levels after I've already set them up, I want to be able to call zoomLevels a second time. However, each time it sets up a new zoom handler:

https://github.com/picturae/OpenSeadragonZoomLevels/blob/master/src/zoom-levels.js#L39

... And never tears down the old one. This can lead to unpredictable behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant