From b5c65ee0bffe790f265e03565b29f1959ba6ea38 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 6 Jun 2025 17:47:28 +1000 Subject: notifs: lock notif object until anim finish Also fix notif y position during remove anim --- services/Notifs.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'services/Notifs.qml') 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(); } } -- cgit v1.2.3-freya