mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Fix overview sizing when exiting via thumbnails
We need to update WorkspacesView._ZoomOut before calling _updateWorkspacesGeometry() in show(), as otherwise the old value is kept. This was a problem if we previously left the overview zoomed out.
This commit is contained in:
parent
90c554ad42
commit
f84c62f0be
1 changed files with 4 additions and 3 deletions
|
|
@ -619,6 +619,10 @@ WorkspacesDisplay.prototype = {
|
|||
},
|
||||
|
||||
show: function() {
|
||||
this._zoomOut = this._alwaysZoomOut;
|
||||
this._zoomFraction = this._alwaysZoomOut ? 1 : 0;
|
||||
this._updateZoom();
|
||||
|
||||
this._controls.show();
|
||||
this._thumbnailsBox.show();
|
||||
|
||||
|
|
@ -661,9 +665,6 @@ WorkspacesDisplay.prototype = {
|
|||
Lang.bind(this, this._dragEnd));
|
||||
|
||||
this._onRestacked();
|
||||
this._zoomOut = this._alwaysZoomOut;
|
||||
this._zoomFraction = this._alwaysZoomOut ? 1 : 0;
|
||||
this._updateZoom();
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue