summaryrefslogtreecommitdiff
path: root/modules/notifications
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 17:22:00 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 17:22:00 +1000
commit6e8a32d4e40e25e1c077394f1638a43176ebf9ed (patch)
tree26704741e0c3a41a9ca461c7bc148f58553bf8f7 /modules/notifications
parentinternal: add canim component (diff)
downloadcaelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.gz
caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.bz2
caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.zip
internal: use Anim component
Diffstat (limited to 'modules/notifications')
-rw-r--r--modules/notifications/Background.qml6
-rw-r--r--modules/notifications/Notification.qml4
2 files changed, 2 insertions, 8 deletions
diff --git a/modules/notifications/Background.qml b/modules/notifications/Background.qml
index 215012f..47ec54a 100644
--- a/modules/notifications/Background.qml
+++ b/modules/notifications/Background.qml
@@ -54,10 +54,6 @@ ShapePath {
}
Behavior on fullHeightRounding {
- NumberAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
+ Anim {}
}
}
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml
index cc691f4..1a0ec05 100644
--- a/modules/notifications/Notification.qml
+++ b/modules/notifications/Notification.qml
@@ -29,9 +29,7 @@ StyledRect {
Component.onCompleted: x = 0
Behavior on x {
- NumberAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
+ Anim {
easing.bezierCurve: Appearance.anim.curves.emphasizedDecel
}
}