Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0, 5.1.0 , 5.2.0
-
None
-
d37b770a353079d1e8e34b5f59d4cd132fbd04e2
Description
To reproduce make the following change to the AnimatedSprite example:
--- a/examples/quick/imageelements/animatedsprite.qml +++ b/examples/quick/imageelements/animatedsprite.qml @@ -55,10 +55,12 @@ Item { anchors.centerIn: parent source: "content/speaker.png" frameCount: 60 - frameSync: true + //frameSync: true frameWidth: 170 frameHeight: 170 loops: 3 + reverse: true + frameDuration: 300 } //! [sprite]
The interpolation code tries to always take the next frame, rather than taking the previous frame when 'reverse: true'
This is an issue for both AnimatedSprite and Sprite.