From 85d575f6c18017693cb2f3ab07314a0cf43adbe6 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 18 Sep 2025 15:19:15 +1000 Subject: feat: add sidebar WIP --- modules/notifications/Content.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/notifications/Content.qml') diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index 2ece7f4..828c3a8 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -10,7 +10,7 @@ Item { id: root required property PersistentProperties visibilities - required property Item panel + required property Item panels readonly property int padding: Appearance.padding.large anchors.top: parent.top @@ -27,15 +27,15 @@ Item { for (let i = 0; i < count; i++) height += list.itemAtIndex(i)?.nonAnimHeight ?? 0; - if (visibilities && panel) { + if (visibilities && panels) { if (visibilities.osd) { - const h = panel.osd.y - Config.border.rounding * 2 - padding * 2; + const h = panels.osd.y - Config.border.rounding * 2 - padding * 2; if (height > h) height = h; } if (visibilities.session) { - const h = panel.session.y - Config.border.rounding * 2 - padding * 2; + const h = panels.session.y - Config.border.rounding * 2 - padding * 2; if (height > h) height = h; } -- cgit v1.2.3-freya