Reset hide controls timer when clicking corresponding button

This commit is contained in:
Rafał Dzięgiel
2021-02-14 14:16:59 +01:00
parent 91703cf7cf
commit baa5053446

View File

@@ -16,6 +16,9 @@ class ClapperHeaderBar extends HeaderBarBase
const clapperWidget = this.root.child; const clapperWidget = this.root.child;
clapperWidget.controlsRevealer.toggleReveal(); clapperWidget.controlsRevealer.toggleReveal();
/* Reset timer to not disappear during click */
clapperWidget.player._setHideControlsTimeout();
} }
_onFullscreenButtonClicked() _onFullscreenButtonClicked()