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/bar/popouts/Background.qml | 2 +- modules/bar/popouts/Wrapper.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/bar') diff --git a/modules/bar/popouts/Background.qml b/modules/bar/popouts/Background.qml index 6dafaff..2a6d6d2 100644 --- a/modules/bar/popouts/Background.qml +++ b/modules/bar/popouts/Background.qml @@ -34,7 +34,7 @@ ShapePath { } PathLine { relativeX: 0 - relativeY: root.wrapper.height - root.rounding * 4 + relativeY: root.wrapper.height - root.rounding * 2 } PathArc { relativeX: root.invertBottomRounding ? root.roundingX : -root.roundingX diff --git a/modules/bar/popouts/Wrapper.qml b/modules/bar/popouts/Wrapper.qml index 0b6fba8..47b8af2 100644 --- a/modules/bar/popouts/Wrapper.qml +++ b/modules/bar/popouts/Wrapper.qml @@ -11,7 +11,7 @@ Item { visible: width > 0 && height > 0 implicitWidth: content.implicitWidth - implicitHeight: content.implicitHeight + BorderConfig.rounding * 2 + implicitHeight: content.implicitHeight Content { id: content -- cgit v1.2.3-freya