Skip to content

Conversation

@maboa
Copy link
Member

@maboa maboa commented Jan 3, 2026

Reset animationFrameId to null after cancelling the animation frame on pause. Without this reset, the play event listener's check for !animationFrameId would fail on subsequent plays since it still held the old (cancelled) frame ID value, preventing the skip loop from restarting.

Fixes #261

Reset animationFrameId to null after cancelling the animation frame
on pause. Without this reset, the play event listener's check for
!animationFrameId would fail on subsequent plays since it still held
the old (cancelled) frame ID value, preventing the skip loop from
restarting.

Fixes #261
@maboa maboa merged commit 47d678b into main Jan 3, 2026
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

Successfully merging this pull request may close these issues.

Pressing play a second time after striking out text does not respect the strikeout

2 participants