diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-28 15:56:10 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-28 15:56:10 +0800 |
| commit | 016a7c0763313d80feb347242530abfe1a5db640 (patch) | |
| tree | 9dcf434188ebd1efe9e9cd69e9e7ac3a23fc503d /modules/notifications/Wrapper.qml | |
| parent | dashboard: animate media visualiser colour (diff) | |
| download | caelestia-shell-016a7c0763313d80feb347242530abfe1a5db640.tar.gz caelestia-shell-016a7c0763313d80feb347242530abfe1a5db640.tar.bz2 caelestia-shell-016a7c0763313d80feb347242530abfe1a5db640.zip | |
drawers: better show/hide anims
Use m3 expressive curves
Diffstat (limited to 'modules/notifications/Wrapper.qml')
| -rw-r--r-- | modules/notifications/Wrapper.qml | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/modules/notifications/Wrapper.qml b/modules/notifications/Wrapper.qml index 42f3acb..24aebd9 100644 --- a/modules/notifications/Wrapper.qml +++ b/modules/notifications/Wrapper.qml @@ -20,32 +20,15 @@ Item { } } - transitions: [ - Transition { - from: "" - to: "visible" - - NumberAnimation { - target: root - property: "implicitHeight" - duration: Appearance.anim.durations.large - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.emphasizedDecel - } - }, - Transition { - from: "visible" - to: "" - - NumberAnimation { - target: root - property: "implicitHeight" - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + transitions: Transition { + NumberAnimation { + target: root + property: "implicitHeight" + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial } - ] + } Content { id: content |