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

Using moveBy(dx, dy, 1) or smoothZoom while smoothScroll is stopping from panend messes up #99

Open
rbonomo opened this issue May 9, 2019 · 2 comments

Comments

@rbonomo
Copy link
Contributor

rbonomo commented May 9, 2019

Using moveBy(dx, dy, 1) or smoothZoom while smoothScroll is stopping from panend messes up

@rbonomo
Copy link
Contributor Author

rbonomo commented May 9, 2019

Need to add a method that stops the animation cycle after panend. I would call this before using smoothZoom or moveBy(dx, dy, 1).

@rbonomo
Copy link
Contributor Author

rbonomo commented May 9, 2019

Adding this hardStop method to the panzoom api works for me. I call it before I do a moveBy(dx, dy, 1) and before smoothZoom.

image

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