overviewControls: Use easeOutCubic transition for overview
Swipe tracker duration is intended to be used with easeOutCubic only. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1732>
This commit is contained in:
parent
404bb7a638
commit
8eda12e6d7
@ -670,7 +670,7 @@ class ControlsManager extends St.Widget {
|
|||||||
this._stateAdjustment.remove_transition('value');
|
this._stateAdjustment.remove_transition('value');
|
||||||
this._stateAdjustment.ease(target, {
|
this._stateAdjustment.ease(target, {
|
||||||
duration,
|
duration,
|
||||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
mode: Clutter.AnimationMode.EASE_OUT_CUBIC,
|
||||||
onComplete,
|
onComplete,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user