Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actuate.stop with complete = true does not respect the reverse flag #99

Open
chatziko opened this issue Jan 20, 2019 · 0 comments
Open

Comments

@chatziko
Copy link
Contributor

Actuate.stop(target, null, true) should apply the final values of the animation (as if it had finished normally). In case of a reverse'ed tween, these should be the original values of the target, but currently the values provided to Actuate.tween are set (the starting values of the animation).

target.x = 10;
Actuate.tween(target, 1, { x: 20 }).reverse();
Actuate.stop(target, null, true);
trace(target.x);
// outputs 20, should be 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant