windowManager: Allow animations to start if the overview is closing
So the `WindowManager._mapWindow` animation doesn't get skipped if the overview is visible but closing. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1440>
This commit is contained in:
parent
7c1b30b272
commit
ea9c4e589d
@ -1118,7 +1118,8 @@ var WindowManager = class {
|
||||
}
|
||||
|
||||
_shouldAnimate() {
|
||||
return !(Main.overview.visible || this._workspaceAnimation.gestureActive);
|
||||
const overviewOpen = Main.overview.visible && !Main.overview.closing;
|
||||
return !(overviewOpen || this._workspaceAnimation.gestureActive);
|
||||
}
|
||||
|
||||
_shouldAnimateActor(actor, types) {
|
||||
|
Loading…
Reference in New Issue
Block a user