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/dashboard/Background.qml | 4 +--- modules/dashboard/Wrapper.qml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/dashboard') diff --git a/modules/dashboard/Background.qml b/modules/dashboard/Background.qml index 0ab6658..ebc60c8 100644 --- a/modules/dashboard/Background.qml +++ b/modules/dashboard/Background.qml @@ -35,7 +35,7 @@ ShapePath { } PathLine { - relativeX: root.wrapper.width - root.rounding * 4 + relativeX: root.wrapper.width - root.rounding * 2 relativeY: 0 } @@ -65,7 +65,5 @@ ShapePath { easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.standard } - } - } diff --git a/modules/dashboard/Wrapper.qml b/modules/dashboard/Wrapper.qml index 8d3d2f7..e043904 100644 --- a/modules/dashboard/Wrapper.qml +++ b/modules/dashboard/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