diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-06 17:47:28 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-06 17:47:28 +1000 |
| commit | b5c65ee0bffe790f265e03565b29f1959ba6ea38 (patch) | |
| tree | 7c52d3297aea4fde9538037ea821184763f0707f /services | |
| parent | bar: power button open session (diff) | |
| download | caelestia-shell-b5c65ee0bffe790f265e03565b29f1959ba6ea38.tar.gz caelestia-shell-b5c65ee0bffe790f265e03565b29f1959ba6ea38.tar.bz2 caelestia-shell-b5c65ee0bffe790f265e03565b29f1959ba6ea38.zip | |
notifs: lock notif object until anim finish
Also fix notif y position during remove anim
Diffstat (limited to 'services')
| -rw-r--r-- | services/Notifs.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml index b4ebc26..de53d89 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -78,10 +78,13 @@ Singleton { } readonly property Connections conn: Connections { - target: notif.notification + target: notif.notification.Retainable - function onClosed(): void { + function onDropped(): void { root.list.splice(root.list.indexOf(notif), 1); + } + + function onAboutToDestroy(): void { notif.destroy(); } } |