summaryrefslogtreecommitdiff
path: root/modules/notifications/Background.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/notifications/Background.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/notifications/Background.qml')
-rw-r--r--modules/notifications/Background.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notifications/Background.qml b/modules/notifications/Background.qml
index ea9e3a1..2fd05f8 100644
--- a/modules/notifications/Background.qml
+++ b/modules/notifications/Background.qml
@@ -17,7 +17,7 @@ ShapePath {
fillColor: BorderConfig.colour
PathLine {
- relativeX: -root.wrapper.width
+ relativeX: -(root.wrapper.width + root.rounding)
relativeY: 0
}
PathArc {
@@ -38,7 +38,7 @@ ShapePath {
direction: root.fullHeightRounding < 0 ? PathArc.Clockwise : PathArc.Counterclockwise
}
PathLine {
- relativeX: root.wrapper.height > 0 ? root.wrapper.width - root.rounding * 2 - root.fullHeightRounding : root.wrapper.width
+ relativeX: root.wrapper.height > 0 ? root.wrapper.width - root.rounding - root.fullHeightRounding : root.wrapper.width
relativeY: 0
}
PathArc {