When tweening an object's scale with to, the initial value set by the stylesheet is ignored, and it tweens from 1.0 regardless of what is set. This looks even worse when you restart: because the object's scale is set to 1.0, it no longer looks correct at the beginning of the animation.
I thought forcefeeding the value by using fromTo, with the correct initial scale, would fix the problem, but that doesn't work either! It starts from 1.0 even with fromTo.
What's going on here? Why is it ignoring the initial scale/transform?
I have found you can force the initial scale by using set before the animation, which works for now, but this isn't ideal when it's already defined in the stylesheet.
When tweening an object's scale with
to
, the initial value set by the stylesheet is ignored, and it tweens from 1.0 regardless of what is set. This looks even worse when yourestart
: because the object's scale is set to 1.0, it no longer looks correct at the beginning of the animation.I thought forcefeeding the value by using
fromTo
, with the correct initial scale, would fix the problem, but that doesn't work either! It starts from 1.0 even withfromTo
.What's going on here? Why is it ignoring the initial scale/transform?
Any chance of a fix?
Thanks!