mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Show menu and close buttons on mobile fullscreen view
This commit is contained in:
@@ -151,8 +151,11 @@ class ClapperWidget extends Gtk.Grid
|
||||
this._changeControlsPlacement(isFullscreen);
|
||||
this.controls.setFullscreenMode(isFullscreen);
|
||||
|
||||
this.revealerTop.headerBar.visible = !isFullscreen;
|
||||
this.revealerTop.revealerGrid.visible = (isFullscreen && !this.isMobileMonitor);
|
||||
const headerbar = this.revealerTop.headerBar;
|
||||
headerbar.visible = (!isFullscreen || this.isMobileMonitor);
|
||||
headerbar.extraButtonsBox.visible = !isFullscreen;
|
||||
|
||||
this.revealerTop.revealerGrid.visible = !headerbar.visible;
|
||||
|
||||
this.setControlsCanFocus(false);
|
||||
|
||||
|
Reference in New Issue
Block a user