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

fix(core): reset playback state on presentation abort #1016

Conversation

gtutunaru
Copy link
Contributor

Hi,

I discovered a bug in the presentation mode. When entering the presentation mode and playing it until the last slide (so getting into the finished state), when closing the presentation and opening it again, it was not possible to start playing the slides, even though the play button is active (clicking on it had no effect).

After going through the code, I discovered that on abort the finished state is never reset.

For the fix, I was not sure if a separate method was needed to only update the finished flag, or an actual playback.reset was needed (which I did in the end).

@aarthificial aarthificial merged commit 511231b into motion-canvas:main Apr 1, 2024
9 checks passed
@aarthificial
Copy link
Contributor

Thanks for the fix!

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.

None yet

2 participants