summaryrefslogtreecommitdiff
path: root/modules/notifications/Wrapper.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-28 15:56:10 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-28 15:56:10 +0800
commit016a7c0763313d80feb347242530abfe1a5db640 (patch)
tree9dcf434188ebd1efe9e9cd69e9e7ac3a23fc503d /modules/notifications/Wrapper.qml
parentdashboard: animate media visualiser colour (diff)
downloadcaelestia-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.qml33
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