Skip to content

Comments

Fix play/pause toggle annoyance#1066

Merged
emilk merged 2 commits intomainfrom
emilk/smarter-unpause
Feb 3, 2023
Merged

Fix play/pause toggle annoyance#1066
emilk merged 2 commits intomainfrom
emilk/smarter-unpause

Conversation

@emilk
Copy link
Member

@emilk emilk commented Feb 2, 2023

Closes #941

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

@teh-cmc teh-cmc self-requested a review February 3, 2023 07:54
Comment on lines +315 to +317
state.time = min(time_points).into();
self.playing = true;
self.following = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
state.time = min(time_points).into();
self.playing = true;
self.following = false;
self.set_play_state(times_per_timeline, PlayState::Playing);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of liked being explicit here

@emilk emilk merged commit 5582f61 into main Feb 3, 2023
@emilk emilk deleted the emilk/smarter-unpause branch February 3, 2023 08:20
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 space no longer plays/stops

2 participants