summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-11 23:58:18 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-11 23:58:18 +1000
commitdc3dd3eccc24c70b6edfeec03648a68fb2e3169f (patch)
tree1e50001faf673b78f658518f1c22fba5ea981a95 /modules
parentlock/notifs: don't show notifs until anim finish (diff)
downloadcaelestia-shell-dc3dd3eccc24c70b6edfeec03648a68fb2e3169f.tar.gz
caelestia-shell-dc3dd3eccc24c70b6edfeec03648a68fb2e3169f.tar.bz2
caelestia-shell-dc3dd3eccc24c70b6edfeec03648a68fb2e3169f.zip
lock/notifs: better anims
Diffstat (limited to 'modules')
-rw-r--r--modules/lock/NotifDock.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml
index 5fde1a8..1cfcd28 100644
--- a/modules/lock/NotifDock.qml
+++ b/modules/lock/NotifDock.qml
@@ -104,14 +104,35 @@ ColumnLayout {
}
}
+ remove: Transition {
+ Anim {
+ property: "opacity"
+ to: 0
+ }
+ Anim {
+ property: "scale"
+ to: 0.6
+ }
+ }
+
move: Transition {
Anim {
+ properties: "opacity,scale"
+ to: 1
+ }
+ Anim {
property: "y"
+ duration: Appearance.anim.durations.expressiveDefaultSpatial
+ easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
}
}
displaced: Transition {
Anim {
+ properties: "opacity,scale"
+ to: 1
+ }
+ Anim {
property: "y"
duration: Appearance.anim.durations.expressiveDefaultSpatial
easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial