diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 18:41:45 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 18:41:45 +1000 |
| commit | 023d00d6584d7af9d344ed39031f3b4bf95521d0 (patch) | |
| tree | 331b7b8876e6cb7e7e9956ca8f12dd89bdda85fe /modules/dashboard | |
| parent | bar: show power profile if no battery (diff) | |
| download | caelestia-shell-023d00d6584d7af9d344ed39031f3b4bf95521d0.tar.gz caelestia-shell-023d00d6584d7af9d344ed39031f3b4bf95521d0.tar.bz2 caelestia-shell-023d00d6584d7af9d344ed39031f3b4bf95521d0.zip | |
drawers: fix interaction areas
Outer corners shouldn't be part of interaction area
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Background.qml | 4 | ||||
| -rw-r--r-- | modules/dashboard/Wrapper.qml | 2 |
2 files changed, 2 insertions, 4 deletions
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" |