Skip to content

Commit

Permalink
Fix conflicts between Launcher.play and Launcher.startPaused
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Feb 21, 2017
1 parent dd0ac3a commit b6e7eb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Fixed
- Fix `Launcher.onFullscreen` throwing error messages on some devices
- Fix conflicts between `Launcher.play` and `Launcher.startPaused`

## [0.10.0] - 2017-01-16
### Added
Expand Down
2 changes: 2 additions & 0 deletions ts/Launcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,12 @@ export default class Launcher {

public play(): void {
this.opts.scrubber.play();
this.shouldStartPaused = false;
}

public pause(): void {
this.opts.scrubber.pause();
this.shouldStartPaused = true;
}

public toggle(): void {
Expand Down

0 comments on commit b6e7eb2

Please sign in to comment.