mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
Separate top revealer title and time
This commit is contained in:
committed by
Rafał Dzięgiel
parent
8b254de151
commit
61ae543cf9
@@ -152,12 +152,7 @@ class ClapperWidget extends Gtk.Grid
|
||||
|
||||
this._changeControlsPlacement(isFullscreen);
|
||||
this.controls.setFullscreenMode(isFullscreen);
|
||||
|
||||
const headerbar = this.revealerTop.headerBar;
|
||||
headerbar.visible = (!isFullscreen || this.isMobileMonitor);
|
||||
headerbar.extraButtonsBox.visible = !isFullscreen;
|
||||
|
||||
this.revealerTop.revealerGrid.visible = !headerbar.visible;
|
||||
this.revealerTop.setFullscreenMode(isFullscreen, this.isMobileMonitor);
|
||||
|
||||
if(this.revealerTop.child_revealed)
|
||||
this._checkSetUpdateTimeInterval();
|
||||
@@ -328,6 +323,7 @@ class ClapperWidget extends Gtk.Grid
|
||||
|
||||
this.root.title = title;
|
||||
this.revealerTop.title = title;
|
||||
this.revealerTop.showTitle = true;
|
||||
}
|
||||
|
||||
updateTime()
|
||||
|
Reference in New Issue
Block a user