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 --- modules/notifications/Content.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/notifications/Content.qml') diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index 78fda6a..3cc1301 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -72,7 +72,7 @@ Item { readonly property alias nonAnimHeight: notif.nonAnimHeight implicitWidth: notif.implicitWidth - implicitHeight: notif.implicitHeight + (index > 0 ? Appearance.spacing.smaller : 0) + implicitHeight: notif.implicitHeight + (index === 0 ? 0 : Appearance.spacing.smaller) ListView.onRemove: removeAnim.start() @@ -115,7 +115,7 @@ Item { ClippingRectangle { anchors.top: parent.top - anchors.topMargin: wrapper.index > 0 ? Appearance.spacing.smaller : 0 + anchors.topMargin: wrapper.index === 0 ? 0 : Appearance.spacing.smaller color: "transparent" radius: notif.radius -- cgit v1.2.3-freya