workspace: Always set state at the end of overview transition
We don't change to the zoomed out state when fading to the overview, however we should do that after the transition in case the user switches to the window picker. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2969
This commit is contained in:
parent
2a0c116757
commit
82be010fd8
@ -1194,11 +1194,13 @@ class Workspace extends St.Widget {
|
||||
|
||||
_doneLeavingOverview() {
|
||||
this.layout_manager.layout_frozen = false;
|
||||
this.layout_manager.stateAdjustment.value = 0;
|
||||
this._windows.forEach(w => (w.opacity = 255));
|
||||
}
|
||||
|
||||
_doneShowingOverview() {
|
||||
this.layout_manager.layout_frozen = false;
|
||||
this.layout_manager.stateAdjustment.value = 1;
|
||||
this._windows.forEach(w => (w.opacity = 255));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user