mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue