fix: remove erroneous playbackRate check (#2106)
* remove erroneous playbackRate check A playback rate != 1 causes shouldHidePlayerControls to erroneously return false. * Add change Co-authored-by: Alex <alxmorais8@msn.com>
This commit is contained in:
@@ -147,7 +147,7 @@ to be installed. For example on Mac, first install
|
||||
[XQuartz](http://www.xquartz.org/), then run:
|
||||
|
||||
```
|
||||
brew install wine mono
|
||||
$ brew install wine mono
|
||||
```
|
||||
|
||||
(Requires the [Homebrew](http://brew.sh/) package manager.)
|
||||
|
||||
@@ -198,8 +198,7 @@ function shouldHidePlayerControls () {
|
||||
new Date().getTime() - this.playing.mouseStationarySince > 2000 &&
|
||||
!this.playing.mouseInControls &&
|
||||
!this.playing.isPaused &&
|
||||
this.playing.location === 'local' &&
|
||||
this.playing.playbackRate === 1
|
||||
this.playing.location === 'local'
|
||||
}
|
||||
|
||||
async function load (cb) {
|
||||
|
||||
Reference in New Issue
Block a user