diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-04 22:36:03 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-04 22:36:03 +1000 |
| commit | 93cc4eacb0a791fb6be2793f95a0ea585b8ef5f8 (patch) | |
| tree | d9523149d93d94fb08928f32a4845510e4154d21 /modules | |
| parent | notifs: add remove animation (diff) | |
| download | caelestia-shell-93cc4eacb0a791fb6be2793f95a0ea585b8ef5f8.tar.gz caelestia-shell-93cc4eacb0a791fb6be2793f95a0ea585b8ef5f8.tar.bz2 caelestia-shell-93cc4eacb0a791fb6be2793f95a0ea585b8ef5f8.zip | |
notifs: fix being able to scroll
Diffstat (limited to '')
| -rw-r--r-- | modules/notifications/Content.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index c19a1c4..78fda6a 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -68,10 +68,11 @@ Item { id: wrapper required property Notifs.Notif modelData + required property int index readonly property alias nonAnimHeight: notif.nonAnimHeight implicitWidth: notif.implicitWidth - implicitHeight: notif.implicitHeight + Appearance.spacing.smaller + implicitHeight: notif.implicitHeight + (index > 0 ? Appearance.spacing.smaller : 0) ListView.onRemove: removeAnim.start() @@ -114,6 +115,8 @@ Item { ClippingRectangle { anchors.top: parent.top + anchors.topMargin: wrapper.index > 0 ? Appearance.spacing.smaller : 0 + color: "transparent" radius: notif.radius implicitWidth: notif.implicitWidth |