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:
Alex Vale
2022-03-03 01:53:23 +00:00
committed by GitHub
parent f097a1ed52
commit 036ac72e3c
2 changed files with 2 additions and 3 deletions

View File

@@ -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.)

View File

@@ -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) {