Important: Please read the Qt Code of Conduct -

AnimatedSprite behaves in wrong way, If we start another animation onCurrentFrameChanged

  • I want to start another animation onCurrentFrameChaged() of AnimatedSprite and my AnimatedSprite has total frame count as 130, So I am starting another number animation, When currenFrame is 100, and that animation stops after AnimatedSprite, but when the second animation stopped AnimatedSprite area shows wrong frame on screen.

     onCurrentFrameChanged: {
                    console.log("current frame Changed : current frame", sprite.currentFrame)
                    if (sprite.currentFrame === 100)
                    if (sprite.currentFrame === 120)

    [Added code tags ~kshegunov]
    [Moved to QML and Qt Quick ~kshegunov]

Log in to reply