[gnome-shell] workspaceThumbnail: Queue state update after expanding
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspaceThumbnail: Queue state update after expanding
- Date: Wed, 3 Mar 2021 18:07:36 +0000 (UTC)
commit fac50fb50e6775b7aa291b714d46e5a3203f61fc
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Feb 24 23:26:56 2021 +0100
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>
js/ui/workspaceThumbnail.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index e805c4f522..17d29d0d1a 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -1208,6 +1208,7 @@ var ThumbnailsBox = GObject.registerClass({
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
onComplete: () => {
this._setThumbnailState(thumbnail, ThumbnailState.EXPANDED);
+ this._queueUpdateStates();
},
});
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]