Skip to content

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

@ewilligers

Description

@ewilligers

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions