Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
Windows XP
Description
Running the QML snippet below demonstrates how the animation property easing.type (I think it's the same for other properties of easing too) can't be changed after declaration, while others can be.
import Qt 4.6 Rectangle { id: animatorBug width: 500 height: 200 Text { id: label x: 0 y: 93 text: "Hello World" } MouseArea { anchors.fill: parent; onClicked: { animator.duration = 1000; animator.to = 400; animator.easing.type = Easing.Linear; animator.start(); } } NumberAnimation { id: animator; target: label; property: "x"; to: 100; easing.type: Easing.InBounce; duration: 5000; } }