mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
multitaskingview: Fix adding last workspace animation (#281)
Fixes a weird animation when moving an app from one workspace to the last one caused by initially not positioned new workspace clone that's being added. This is actually an easy fix that just tells that update_position should not animate the position of the workspace when a workspace is added.
This commit is contained in:
parent
953c7ad58e
commit
6bdc718832
@ -284,7 +284,7 @@ namespace Gala
|
||||
workspaces.insert_child_at_index (workspace, num);
|
||||
icon_groups.add_group (workspace.icon_group);
|
||||
|
||||
update_positions (opened);
|
||||
update_positions (false);
|
||||
|
||||
if (opened)
|
||||
workspace.open ();
|
||||
|
Loading…
Reference in New Issue
Block a user