diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-09 10:33:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-09 10:33:32 +0100 |
commit | dc9ff3128f2fa9cd64ab628699608b3794c78d43 (patch) | |
tree | 4cea78336e37c612c9d78e18053238886f5e47fe /client/src/assets/player/videojs-components | |
parent | 07d6044e211a0a04a19bcc88719958ad28751b23 (diff) | |
download | PeerTube-dc9ff3128f2fa9cd64ab628699608b3794c78d43.tar.gz PeerTube-dc9ff3128f2fa9cd64ab628699608b3794c78d43.tar.zst PeerTube-dc9ff3128f2fa9cd64ab628699608b3794c78d43.zip |
Improve control bar inactivity handling
Keep opened when user is in control bar settings
Faster hidding transition for control bar
Diffstat (limited to 'client/src/assets/player/videojs-components')
-rw-r--r-- | client/src/assets/player/videojs-components/settings-menu-button.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/videojs-components/settings-menu-button.ts b/client/src/assets/player/videojs-components/settings-menu-button.ts index 75a5c6904..6de390f4d 100644 --- a/client/src/assets/player/videojs-components/settings-menu-button.ts +++ b/client/src/assets/player/videojs-components/settings-menu-button.ts | |||
@@ -144,7 +144,7 @@ class SettingsButton extends Button { | |||
144 | } | 144 | } |
145 | 145 | ||
146 | showDialog () { | 146 | showDialog () { |
147 | this.player().peertube().onMenuOpen(); | 147 | this.player().peertube().onMenuOpened(); |
148 | 148 | ||
149 | (this.menu.el() as HTMLElement).style.opacity = '1' | 149 | (this.menu.el() as HTMLElement).style.opacity = '1' |
150 | 150 | ||