From 016a7c0763313d80feb347242530abfe1a5db640 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 28 May 2025 15:56:10 +0800 Subject: drawers: better show/hide anims Use m3 expressive curves --- modules/session/Wrapper.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/session') diff --git a/modules/session/Wrapper.qml b/modules/session/Wrapper.qml index 0bf5183..2904db6 100644 --- a/modules/session/Wrapper.qml +++ b/modules/session/Wrapper.qml @@ -29,9 +29,9 @@ Item { NumberAnimation { target: root property: "implicitWidth" - duration: Appearance.anim.durations.large + duration: Appearance.anim.durations.normal easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.emphasizedDecel + easing.bezierCurve: Appearance.anim.curves.expressiveFastSpatial } }, Transition { @@ -43,7 +43,7 @@ Item { property: "implicitWidth" duration: Appearance.anim.durations.normal easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.emphasizedAccel + easing.bezierCurve: root.visibilities.osd ? Appearance.anim.curves.expressiveFastSpatial : Appearance.anim.curves.emphasized } } ] -- cgit v1.2.3-freya