mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 07:05:30 +03:00
Don't animate workspaces behind multitasking view (#1466)
This commit is contained in:
parent
da74e99775
commit
a12c1a1c47
@ -1752,7 +1752,8 @@ namespace Gala {
|
||||
if (!enable_animations
|
||||
|| AnimationDuration.WORKSPACE_SWITCH == 0
|
||||
|| (direction != Meta.MotionDirection.LEFT && direction != Meta.MotionDirection.RIGHT)
|
||||
|| animating_switch_workspace) {
|
||||
|| animating_switch_workspace
|
||||
|| workspace_view.is_opened ()) {
|
||||
animating_switch_workspace = false;
|
||||
switch_workspace_completed ();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user