diff options
Diffstat (limited to 'modules/notifications/Content.qml')
| -rw-r--r-- | modules/notifications/Content.qml | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |