summaryrefslogtreecommitdiff
path: root/modules/dashboard/dash/User.qml
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/dashboard/dash/User.qml
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/dashboard/dash/User.qml')
-rw-r--r--modules/dashboard/dash/User.qml11
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml
index acb5645..2576e3e 100644
--- a/modules/dashboard/dash/User.qml
+++ b/modules/dashboard/dash/User.qml
@@ -50,10 +50,8 @@ Row {
opacity: parent.containsMouse ? 1 : 0
Behavior on opacity {
- NumberAnimation {
+ Anim {
duration: Appearance.anim.durations.expressiveFastSpatial
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
}
}
}
@@ -90,18 +88,15 @@ Row {
}
Behavior on scale {
- NumberAnimation {
+ Anim {
duration: Appearance.anim.durations.expressiveFastSpatial
- easing.type: Easing.BezierSpline
easing.bezierCurve: Appearance.anim.curves.expressiveFastSpatial
}
}
Behavior on opacity {
- NumberAnimation {
+ Anim {
duration: Appearance.anim.durations.expressiveFastSpatial
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
}
}
}