diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 20:19:53 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 20:19:53 +1000 |
| commit | f0e0569737878da748aa5f74ee542d4eb978bf71 (patch) | |
| tree | a1398e2a9f83cb169fb401629e68a86eda490f4b | |
| parent | notifs: slide to remove (diff) | |
| download | caelestia-shell-f0e0569737878da748aa5f74ee542d4eb978bf71.tar.gz caelestia-shell-f0e0569737878da748aa5f74ee542d4eb978bf71.tar.bz2 caelestia-shell-f0e0569737878da748aa5f74ee542d4eb978bf71.zip | |
launcher: fix interrupted transitions
| -rw-r--r-- | modules/launcher/AppList.qml | 12 | ||||
| -rw-r--r-- | modules/notifications/Content.qml | 6 |
2 files changed, 16 insertions, 2 deletions
diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml index 7e3bef0..b119ee8 100644 --- a/modules/launcher/AppList.qml +++ b/modules/launcher/AppList.qml @@ -67,6 +67,10 @@ ListView { Anim { property: "y" } + Anim { + properties: "opacity,scale" + to: 1 + } } addDisplaced: Transition { @@ -74,12 +78,20 @@ ListView { property: "y" duration: Appearance.anim.durations.small } + Anim { + properties: "opacity,scale" + to: 1 + } } displaced: Transition { Anim { property: "y" } + Anim { + properties: "opacity,scale" + to: 1 + } } Component { diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index ef5c0c0..34d0bcb 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -54,10 +54,12 @@ Item { } remove: Transition { + id: remove + Anim { property: "x" - from: 0 - to: NotifsConfig.sizes.width + to: remove.ViewTransition.item.x > 0 ? NotifsConfig.sizes.width : -NotifsConfig.sizes.width + duration: Appearance.anim.durations.large easing.bezierCurve: Appearance.anim.curves.emphasizedAccel } } |