Skip to content

Conversation

ploMP4
Copy link
Member

@ploMP4 ploMP4 commented Jul 23, 2025

This PR fixes the app-freezing issue that sometimes occurs. Turns out that the problem was way simpler than we initially thought. On each animation frame we send a FrameMsg that updates the slide which batches a FrameMsg along with another TickMsg , on each TickMsg since we also update the globalTimer we send another TickMsg and this keeps going until the app halts.

The fix is just to update both timers on the same TickMsg and send only a single one back to bubbletea's event loop so there is only a single TickMsg.

@ploMP4 ploMP4 requested a review from tharropoulos July 23, 2025 16:39
@ploMP4 ploMP4 self-assigned this Jul 23, 2025
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.

1 participant