diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-09 22:32:44 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-09 22:32:44 +1000 |
| commit | 8b61a02145aea2cee09b828687275e32b0784f36 (patch) | |
| tree | 5d82c59b0c81d36f5c36c51c0c189173809ad258 | |
| parent | internal: pass around visibilities (diff) | |
| download | caelestia-shell-8b61a02145aea2cee09b828687275e32b0784f36.tar.gz caelestia-shell-8b61a02145aea2cee09b828687275e32b0784f36.tar.bz2 caelestia-shell-8b61a02145aea2cee09b828687275e32b0784f36.zip | |
notifs: fix shrink height
Fix height when osd/session blocks
| -rw-r--r-- | modules/notifications/Content.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |