From baa5053446413d32dafbd83b4a76d7fe93b01edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Sun, 14 Feb 2021 14:16:59 +0100 Subject: [PATCH] Reset hide controls timer when clicking corresponding button --- src/headerbar.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/headerbar.js b/src/headerbar.js index 5faf5206..0866f01a 100644 --- a/src/headerbar.js +++ b/src/headerbar.js @@ -16,6 +16,9 @@ class ClapperHeaderBar extends HeaderBarBase const clapperWidget = this.root.child; clapperWidget.controlsRevealer.toggleReveal(); + + /* Reset timer to not disappear during click */ + clapperWidget.player._setHideControlsTimeout(); } _onFullscreenButtonClicked()