Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1
-
None
-
3146eab
Description
In QML, when the velocity of a running SmootheredAnimation is changed, nothing happens until animation is restarted.
I have a screen with a ListView, a slider and a play button. The use case is, I click "play" and auto-scrolling starts on the list. When the slider knob is moved, the auto-scroll speed should be changed on-the-fly. Nothing happens however until the animation is stopped and restarted.
By inspecting QDeclarativeSmootheredAnimation::setVelocity() I realize that method only changes the velocity of the "template" animation, and not of the actual running animation.