Open moltar opened 5 years ago
Just to clarify, you are using smoothZoom()
, correct?
Actually both give the same result if you click fast enough.
I'm sorry, not sure I fully understand your comment. Which function do you use to zoom in?
Yes, smoothZoom
.
Maybe related https://github.com/anvaka/panzoom/issues/99
First pass I did while slowly clicking "zoom out" button. This works fine.
But if I click zoom out button rapidly, then some kind of jumping behavior can be seen.
I think maybe it's a race condition, where the first zoom out animation didn't finish yet, and the second one has started.
Demo video: http://take.ms/PpfAC