You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the function smoothScaleTo, the amimation is fine when I zoom in, but not good while zoom out (example zoom from 4 to 1).
In class ZoomPanLayout, it might be interesting to update the function smoothScaleTo that will check if the current scale (scale class variable ?) is less or greater than the destination parameter.
If it's greater, use as usual:
When I use the function smoothScaleTo, the amimation is fine when I zoom in, but not good while zoom out (example zoom from 4 to 1).
In class ZoomPanLayout, it might be interesting to update the function smoothScaleTo that will check if the current scale (scale class variable ?) is less or greater than the destination parameter.
If it's greater, use as usual:
Else use another tween:
exemple:
I have tried, but I might have missed something as it doesn't work as expected :-/
The text was updated successfully, but these errors were encountered: