mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Increase delay of hiding controls when fullscreen
This commit is contained in:
@@ -610,7 +610,13 @@ class ClapperWidget extends Gtk.Grid
|
||||
_setHideControlsTimeout()
|
||||
{
|
||||
this._clearTimeout('hideControls');
|
||||
this._hideControlsTimeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 2500, () => {
|
||||
|
||||
let time = 2500;
|
||||
|
||||
if(this.isFullscreenMode && !this.isMobileMonitor)
|
||||
time += 1500;
|
||||
|
||||
this._hideControlsTimeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, time, () => {
|
||||
this._hideControlsTimeout = null;
|
||||
|
||||
if(this.isCursorInPlayer) {
|
||||
|
Reference in New Issue
Block a user