mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
We don't want to always invoke the .play() method if an animation is relevant and had a play state of running, as the play state is essentially just "paused" or "not paused". We replace that relevancy check with the inverse of the pause check so we don't constantly call .play() on animations that are finished. Also duplicates and moves the temporary context into both blocks, since most of the time neither condition will be true.
124 KiB
124 KiB