mirror of
https://github.com/elementary/gala.git
synced 2024-12-21 08:11:35 +03:00
Improve workspace switch easing mode
This commit is contained in:
parent
a8ec8dec50
commit
da14d033d7
@ -590,7 +590,7 @@ namespace Gala
|
||||
in_group.height = out_group.height = h;
|
||||
|
||||
var animation_duration = AnimationSettings.get_default ().workspace_switch_duration;
|
||||
var animation_mode = Clutter.AnimationMode.EASE_IN_OUT_SINE;
|
||||
var animation_mode = Clutter.AnimationMode.EASE_OUT_CUBIC;
|
||||
|
||||
out_group.animate (animation_mode, animation_duration, x : x2, y : y2);
|
||||
in_group.animate (animation_mode, animation_duration, x : 0.0f, y : 0.0f).completed.connect (() => {
|
||||
|
Loading…
Reference in New Issue
Block a user