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

smoothMoveTo and moveTo move dom to different place with same x y #297

Open
SLEEPYkoa1a opened this issue Mar 1, 2023 · 0 comments
Open

Comments

@SLEEPYkoa1a
Copy link

When I use moveTo and smoothMoveTo before smoothZoom, like
panZoomInstance.moveTo(60, 60);
panZoomInstance.smoothZoom(30, 30, 1/2);
and
panZoomInstance.smoothMoveTo(60, 60);
panZoomInstance.smoothZoom(30, 30, 1/2);
the dom will stop at different place, and moveTo reach the right place I expected. Looks like something wrong happended in smoothMoveTo method.
Is there someone has the same question?

@SLEEPYkoa1a SLEEPYkoa1a changed the title why smoothMoveTo and moveTo move dom to different place with same x y? smoothMoveTo and moveTo move dom to different place with same x y Mar 2, 2023
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