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/osd/Background.qml | 2 +- modules/osd/Wrapper.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/osd') diff --git a/modules/osd/Background.qml b/modules/osd/Background.qml index 75940d3..551637b 100644 --- a/modules/osd/Background.qml +++ b/modules/osd/Background.qml @@ -33,7 +33,7 @@ ShapePath { } PathLine { relativeX: 0 - relativeY: root.wrapper.height - root.rounding * 4 + relativeY: root.wrapper.height - root.rounding * 2 } PathArc { relativeX: root.roundingX diff --git a/modules/osd/Wrapper.qml b/modules/osd/Wrapper.qml index d2564ef..2969002 100644 --- a/modules/osd/Wrapper.qml +++ b/modules/osd/Wrapper.qml @@ -11,7 +11,7 @@ Item { visible: width > 0 implicitWidth: 0 - implicitHeight: content.implicitHeight + BorderConfig.rounding * 2 + implicitHeight: content.implicitHeight states: State { name: "visible" -- cgit v1.2.3-freya