From 8b61a02145aea2cee09b828687275e32b0784f36 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 9 Jul 2025 22:32:44 +1000 Subject: notifs: fix shrink height Fix height when osd/session blocks --- modules/notifications/Content.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/notifications') diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index 701e245..84df4c3 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -28,13 +28,13 @@ Item { if (visibilities && panel) { if (visibilities.osd) { - const h = panel.osd.y - Config.border.rounding * 2; + const h = panel.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; + const h = panel.session.y - Config.border.rounding * 2 - padding * 2; if (height > h) height = h; } -- cgit v1.2.3-freya