mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
Set unreveal timeout after reveal finishes
Instead of setting hide controls timeout immediately when starting revealing, make the time controls are revealed constant by setting timeout after animation finishes.
This commit is contained in:
@@ -120,7 +120,10 @@ class ClapperWidget extends Gtk.Grid
|
||||
if(isAllowInput)
|
||||
this.setControlsCanFocus(true);
|
||||
|
||||
this._setHideControlsTimeout();
|
||||
/* Reset timeout if already revealed, otherwise
|
||||
* timeout will be set after reveal finishes */
|
||||
if(this.revealerTop.child_revealed)
|
||||
this._setHideControlsTimeout();
|
||||
}
|
||||
|
||||
toggleFullscreen()
|
||||
|
Reference in New Issue
Block a user