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
At this moment when animation starts we can't control it in any way. For some reason animation should be canceled and new one should start, but if do it without canceling previous one there would be animation collision.
It would be nice to access cancelation token, for example:
letcurrentAnimationToken= layer.lotus.runAnimation{ make in
make.scaling.to(2.0).during(1.0)}.then{ make in
make.rotation.to(6.0 *.pi).during(2.0).delay(0.5)}// ...
currentAnimationToken.stopAnimation()// terminate or cancel
The text was updated successfully, but these errors were encountered:
At this moment when animation starts we can't control it in any way. For some reason animation should be canceled and new one should start, but if do it without canceling previous one there would be animation collision.
It would be nice to access cancelation token, for example:
The text was updated successfully, but these errors were encountered: