summaryrefslogtreecommitdiff
path: root/modules/drawers/Backgrounds.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-05 18:41:45 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-05 18:41:45 +1000
commit023d00d6584d7af9d344ed39031f3b4bf95521d0 (patch)
tree331b7b8876e6cb7e7e9956ca8f12dd89bdda85fe /modules/drawers/Backgrounds.qml
parentbar: show power profile if no battery (diff)
downloadcaelestia-shell-023d00d6584d7af9d344ed39031f3b4bf95521d0.tar.gz
caelestia-shell-023d00d6584d7af9d344ed39031f3b4bf95521d0.tar.bz2
caelestia-shell-023d00d6584d7af9d344ed39031f3b4bf95521d0.zip
drawers: fix interaction areas
Outer corners shouldn't be part of interaction area
Diffstat (limited to 'modules/drawers/Backgrounds.qml')
-rw-r--r--modules/drawers/Backgrounds.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/drawers/Backgrounds.qml b/modules/drawers/Backgrounds.qml
index 3dcc8ad..c6628ae 100644
--- a/modules/drawers/Backgrounds.qml
+++ b/modules/drawers/Backgrounds.qml
@@ -22,7 +22,7 @@ Shape {
wrapper: panels.osd
startX: root.width - panels.session.width
- startY: (root.height - wrapper.height) / 2
+ startY: (root.height - wrapper.height) / 2 - rounding
}
Notifications.Background {
@@ -36,20 +36,20 @@ Shape {
wrapper: panels.session
startX: root.width
- startY: (root.height - wrapper.height) / 2
+ startY: (root.height - wrapper.height) / 2 - rounding
}
Launcher.Background {
wrapper: panels.launcher
- startX: (root.width - wrapper.width) / 2
+ startX: (root.width - wrapper.width) / 2 - rounding
startY: root.height
}
Dashboard.Background {
wrapper: panels.dashboard
- startX: (root.width - wrapper.width) / 2
+ startX: (root.width - wrapper.width) / 2 - rounding
startY: 0
}
@@ -58,6 +58,6 @@ Shape {
invertBottomRounding: wrapper.y + wrapper.height - BorderConfig.rounding >= root.height
startX: 0
- startY: wrapper.y
+ startY: wrapper.y - rounding
}
}