Show menu and close buttons on mobile fullscreen view

This commit is contained in:
Rafał Dzięgiel
2021-02-19 13:13:25 +01:00
parent 35d1179905
commit 59908f808f

View File

@@ -151,8 +151,11 @@ class ClapperWidget extends Gtk.Grid
this._changeControlsPlacement(isFullscreen); this._changeControlsPlacement(isFullscreen);
this.controls.setFullscreenMode(isFullscreen); this.controls.setFullscreenMode(isFullscreen);
this.revealerTop.headerBar.visible = !isFullscreen; const headerbar = this.revealerTop.headerBar;
this.revealerTop.revealerGrid.visible = (isFullscreen && !this.isMobileMonitor); headerbar.visible = (!isFullscreen || this.isMobileMonitor);
headerbar.extraButtonsBox.visible = !isFullscreen;
this.revealerTop.revealerGrid.visible = !headerbar.visible;
this.setControlsCanFocus(false); this.setControlsCanFocus(false);