summaryrefslogtreecommitdiff
path: root/modules/session
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/session
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/session')
-rw-r--r--modules/session/Wrapper.qml6
1 files changed, 3 insertions, 3 deletions
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
}
}
]