mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
workspaceThumbnail: Update visibility when showing the overview
There's currently a bug that we continue showing the workspace minimap when the number of workspaces changes back to 1 during the session (ie. outside the overview). Fix that by also updating the workspaceThumbnails visibility when entering the overview. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3819 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1741>
This commit is contained in:
parent
bd7e3f4d6b
commit
7a57528bd7
1 changed files with 2 additions and 0 deletions
|
|
@ -1018,6 +1018,8 @@ var ThumbnailsBox = GObject.registerClass({
|
|||
this._stateCounts[ThumbnailState[key]] = 0;
|
||||
|
||||
this.addThumbnails(0, workspaceManager.n_workspaces);
|
||||
|
||||
this._updateShouldShow();
|
||||
}
|
||||
|
||||
_destroyThumbnails() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue