workspaceThumbnail: Queue state update after expanding
New workspaces are added in two steps, first the minimap expands to make room for the new thumbnail, then the thumbnail animates in. However we currently don't queue a state update after the first step, so the second one only happens after one is queued by some other event (like a workspace switch). https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3748 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1716>
This commit is contained in:
parent
7f99655067
commit
fac50fb50e
@ -1208,6 +1208,7 @@ var ThumbnailsBox = GObject.registerClass({
|
|||||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
onComplete: () => {
|
onComplete: () => {
|
||||||
this._setThumbnailState(thumbnail, ThumbnailState.EXPANDED);
|
this._setThumbnailState(thumbnail, ThumbnailState.EXPANDED);
|
||||||
|
this._queueUpdateStates();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user