Animation using
-
What does the sentence below mean in the First Object down here, please?
It’s even disturbing as the y-position is set for a fraction of a second to a new value before the animation starts. Such competing property changes should be avoided.The y position is:
y: root.height-height
Does the author mean we should not set x/y positions for the object!? -
@qcoderpro
the behavior animation is triggered on the value change of bound property. Thus the value gets set first and then the animation starts and updates the value (animated). -
I know that. What I don't know is the connection between the sentence above and the object. What part of the code is defective that must be avoided?
-
@qcoderpro
the line you posted?
They already left it out in the example -
-
@qcoderpro
ah my fault, sry.
The y property declaration is on the same line, oversaw that