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/launcher/ContentList.qml | 3 --- modules/launcher/Wrapper.qml | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'modules/launcher') diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml index 62d5305..9818118 100644 --- a/modules/launcher/ContentList.qml +++ b/modules/launcher/ContentList.qml @@ -51,9 +51,6 @@ Item { ] transitions: Transition { - from: "*" - to: "*" - SequentialAnimation { NumberAnimation { target: root diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml index fb9bb06..4507032 100644 --- a/modules/launcher/Wrapper.qml +++ b/modules/launcher/Wrapper.qml @@ -28,9 +28,9 @@ Item { NumberAnimation { target: root property: "implicitHeight" - 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.expressiveDefaultSpatial } }, Transition { @@ -42,7 +42,7 @@ Item { property: "implicitHeight" duration: Appearance.anim.durations.normal easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.emphasizedAccel + easing.bezierCurve: Appearance.anim.curves.emphasized } } ] -- cgit v1.2.3-freya