diff --git a/src/Main.vala b/src/Main.vala index f96c5a77..e58b75f2 100644 --- a/src/Main.vala +++ b/src/Main.vala @@ -431,9 +431,9 @@ namespace Gala in_group.set_position (-x2, -y2); group.set_child_above_sibling (in_group, null); - out_group.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 300, + out_group.animate (Clutter.AnimationMode.EASE_IN_OUT_SINE, 400, x:x2, y:y2); - in_group.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 300, + in_group.animate (Clutter.AnimationMode.EASE_IN_OUT_SINE, 400, x:0.0f, y:0.0f).completed.connect ( () => { end_switch_workspace (); }); diff --git a/src/Widgets/WorkspaceView.vala b/src/Widgets/WorkspaceView.vala index db205d8e..c314d3e9 100644 --- a/src/Widgets/WorkspaceView.vala +++ b/src/Widgets/WorkspaceView.vala @@ -41,7 +41,7 @@ namespace Gala } set { _workspace = value; - current_workspace.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 300, + current_workspace.animate (Clutter.AnimationMode.EASE_IN_OUT_SINE, 400, x : workspaces.x + ((workspaces.get_children ().nth_data (_workspace).width + 10) * _workspace) - 5); } }