summaryrefslogtreecommitdiff
path: root/modules/notifications/Content.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 15:19:15 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 15:19:15 +1000
commit85d575f6c18017693cb2f3ab07314a0cf43adbe6 (patch)
tree89540859a71162c28c8419af49c75cc3634e6b70 /modules/notifications/Content.qml
parentlauncher: fix open anim (diff)
downloadcaelestia-shell-85d575f6c18017693cb2f3ab07314a0cf43adbe6.tar.gz
caelestia-shell-85d575f6c18017693cb2f3ab07314a0cf43adbe6.tar.bz2
caelestia-shell-85d575f6c18017693cb2f3ab07314a0cf43adbe6.zip
feat: add sidebar
WIP
Diffstat (limited to 'modules/notifications/Content.qml')
-rw-r--r--modules/notifications/Content.qml8
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;
}