mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
workspace: Transition the desktop layer to opacity 0 when going into overview
As requested by the design team, fade DESKTOP type windows to opacity 0 when in the window picker view of the overview, to present a simplified interface to the user.
This commit is contained in:
parent
7889ae0838
commit
99142f909e
1 changed files with 4 additions and 0 deletions
|
|
@ -1041,6 +1041,10 @@ class WorkspaceBackground extends Shell.WorkspaceBackground {
|
|||
this._desktopLayer.add_constraint(syncAll);
|
||||
this._backgroundGroup.insert_child_above(this._desktopLayer,
|
||||
this._bgManager.backgroundActor);
|
||||
this._desktopLayer.opacity = Util.lerp(255, 0, this._stateAdjustment.value);
|
||||
this._stateAdjustment.connectObject('notify::value', () => {
|
||||
this._desktopLayer.opacity = Util.lerp(255, 0, this._stateAdjustment.value);
|
||||
}, this);
|
||||
}
|
||||
|
||||
_updateBorderRadius() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue