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

Pausing and then immediately playing an animation causes frame without effect #440

Open
ewilligers opened this issue May 2, 2016 · 0 comments

Comments

@ewilligers
Copy link
Contributor

Executing the following code midway through an animation causes a single frame where no animation effect is applied.
animation.pause();
animation.play();

play() calls _ensureAlive(), which executes
this._inEffect = this._effect._update(this.currentTime)
However, this._currentTimePending is true, so get currentTime() returns null instead of this._currentTime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants