Environment
Both iOS and Android (Playground).
Describe the bug
The resetOnFinish boolean argument of play in the Animation class only works if the animation has an iterations count greater then 1.
To Reproduce
Create an animation using the Animation class. Play the animation, passing true to request a reset on finish.
Expected behavior
The animation properties should be reset, regardless of iterations count.
Sample project
Playground
Environment
Both iOS and Android (Playground).
Describe the bug
The
resetOnFinishboolean argument ofplayin theAnimationclass only works if the animation has aniterationscount greater then 1.To Reproduce
Create an animation using the
Animationclass. Play the animation, passingtrueto request a reset on finish.Expected behavior
The animation properties should be reset, regardless of iterations count.
Sample project
Playground