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 /modules/notifications/Content.qml | |
| 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 'modules/notifications/Content.qml')
| -rw-r--r-- | modules/notifications/Content.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |