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 play/pause toggle annoyance #1066

Merged
merged 2 commits into from
Feb 3, 2023
Merged

Fix play/pause toggle annoyance #1066

merged 2 commits into from
Feb 3, 2023

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