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:
Alexander Mikhaylenko 2021-02-28 19:57:53 +05:00
parent 404bb7a638
commit 8eda12e6d7

View File

@ -670,7 +670,7 @@ class ControlsManager extends St.Widget {
this._stateAdjustment.remove_transition('value');
this._stateAdjustment.ease(target, {
duration,
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
mode: Clutter.AnimationMode.EASE_OUT_CUBIC,
onComplete,
});