diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 17:22:00 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 17:22:00 +1000 |
| commit | 6e8a32d4e40e25e1c077394f1638a43176ebf9ed (patch) | |
| tree | 26704741e0c3a41a9ca461c7bc148f58553bf8f7 /modules/dashboard/Content.qml | |
| parent | internal: add canim component (diff) | |
| download | caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.gz caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.bz2 caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.zip | |
internal: use Anim component
Diffstat (limited to 'modules/dashboard/Content.qml')
| -rw-r--r-- | modules/dashboard/Content.qml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml index a48d098..05003b5 100644 --- a/modules/dashboard/Content.qml +++ b/modules/dashboard/Content.qml @@ -1,5 +1,6 @@ pragma ComponentBehavior: Bound +import qs.components import qs.config import Quickshell import Quickshell.Widgets @@ -101,27 +102,21 @@ Item { } Behavior on contentX { - NumberAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + Anim {} } } } Behavior on implicitWidth { - NumberAnimation { + Anim { duration: Appearance.anim.durations.large - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.emphasized } } Behavior on implicitHeight { - NumberAnimation { + Anim { duration: Appearance.anim.durations.large - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.emphasized } } |