From 023d00d6584d7af9d344ed39031f3b4bf95521d0 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 5 Jun 2025 18:41:45 +1000 Subject: drawers: fix interaction areas Outer corners shouldn't be part of interaction area --- modules/notifications/Background.qml | 4 ++-- modules/notifications/Wrapper.qml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/notifications') 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 { diff --git a/modules/notifications/Wrapper.qml b/modules/notifications/Wrapper.qml index a3a2631..27b9219 100644 --- a/modules/notifications/Wrapper.qml +++ b/modules/notifications/Wrapper.qml @@ -6,7 +6,7 @@ Item { visible: height > 0 implicitHeight: content.implicitHeight - implicitWidth: content.implicitWidth + BorderConfig.rounding + implicitWidth: content.implicitWidth Content { id: content -- cgit v1.2.3-freya