hey people, am I the only one who has trouble using states.switchInstant because its not working as expected?
e.g. I have a layer that animates to a state and during that animation I want to switch instantly to another state.
switchInstant doesnt really work for me here. Actually switchInstant just messes with the ongoing animation, but doesnt stop it and the layer still animates to the end of the previous animation.
I would expect that switchInstant is a short way of writing .states.switch("statename"), time: "0" . But this is not what happens and for me this often leads to a buggy behaviour.
I did a quick mockup to show and discuss this behaviour.
Press the red layer multiple times to see the switchInstant behaviour and the green layer for the time: "0" behaviour.