diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 23:02:54 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 23:02:54 +1000 |
| commit | 491c0f1dbd601956f3f3b4fd56e1872632f2f814 (patch) | |
| tree | 3722ca258533d542a180a74f50930a98600ee4b6 /modules/launcher/ContentList.qml | |
| parent | launcher: fix wallpaper preview colours (diff) | |
| download | caelestia-shell-491c0f1dbd601956f3f3b4fd56e1872632f2f814.tar.gz caelestia-shell-491c0f1dbd601956f3f3b4fd56e1872632f2f814.tar.bz2 caelestia-shell-491c0f1dbd601956f3f3b4fd56e1872632f2f814.zip | |
launcher: fix transition between lists
Also fix wallpaper preview not switching back when using non dynamic scheme
Diffstat (limited to 'modules/launcher/ContentList.qml')
| -rw-r--r-- | modules/launcher/ContentList.qml | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml index 7a3da96..3ce39f1 100644 --- a/modules/launcher/ContentList.qml +++ b/modules/launcher/ContentList.qml @@ -52,7 +52,7 @@ Item { } ] - transitions: Transition { + Behavior on state { SequentialAnimation { NumberAnimation { target: root @@ -63,27 +63,15 @@ Item { easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.standard } - PropertyAction { - targets: [appList, wallpaperList] - properties: "active" - } - ParallelAnimation { - NumberAnimation { - target: root - properties: "implicitWidth,implicitHeight" - duration: Appearance.anim.durations.large - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.emphasized - } - NumberAnimation { - target: root - property: "opacity" - from: 0 - to: 1 - duration: Appearance.anim.durations.large - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + PropertyAction {} + NumberAnimation { + target: root + property: "opacity" + from: 0 + to: 1 + duration: Appearance.anim.durations.small + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.standard } } } |