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
@ -1018,6 +1018,8 @@ var ThumbnailsBox = GObject.registerClass({
|
|||||||
this._stateCounts[ThumbnailState[key]] = 0;
|
this._stateCounts[ThumbnailState[key]] = 0;
|
||||||
|
|
||||||
this.addThumbnails(0, workspaceManager.n_workspaces);
|
this.addThumbnails(0, workspaceManager.n_workspaces);
|
||||||
|
|
||||||
|
this._updateShouldShow();
|
||||||
}
|
}
|
||||||
|
|
||||||
_destroyThumbnails() {
|
_destroyThumbnails() {
|
||||||
|
Loading…
Reference in New Issue
Block a user