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/launcher/Background.qml | 2 +- modules/launcher/Wrapper.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/launcher') diff --git a/modules/launcher/Background.qml b/modules/launcher/Background.qml index 672b153..5a3d5d4 100644 --- a/modules/launcher/Background.qml +++ b/modules/launcher/Background.qml @@ -32,7 +32,7 @@ ShapePath { radiusY: Math.min(root.rounding, root.wrapper.height) } PathLine { - relativeX: root.wrapper.width - root.rounding * 4 + relativeX: root.wrapper.width - root.rounding * 2 relativeY: 0 } PathArc { diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml index 27f2150..86c8b95 100644 --- a/modules/launcher/Wrapper.qml +++ b/modules/launcher/Wrapper.qml @@ -9,7 +9,7 @@ Item { visible: height > 0 implicitHeight: 0 - implicitWidth: content.implicitWidth + BorderConfig.rounding * 2 + implicitWidth: content.implicitWidth states: State { name: "visible" -- cgit v1.2.3-freya