From 00d3c1a472888817d7649391d4a8485c5fc6f6f5 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 3 May 2025 23:56:37 +1000 Subject: feat: launcher wallpaper selector --- modules/launcher/Background.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/launcher/Background.qml') diff --git a/modules/launcher/Background.qml b/modules/launcher/Background.qml index ae12712..8cfaac8 100644 --- a/modules/launcher/Background.qml +++ b/modules/launcher/Background.qml @@ -5,13 +5,12 @@ import QtQuick.Shapes Shape { id: root + required property real wrapperWidth required property real realWrapperHeight readonly property int rounding: Appearance.rounding.large readonly property int roundingY: Math.min(rounding, realWrapperHeight / 2) readonly property real wrapperHeight: realWrapperHeight - 1 // Pixel issues :sob: - anchors.left: parent.left - anchors.right: parent.right anchors.bottom: parent.bottom preferredRendererType: Shape.CurveRenderer @@ -41,7 +40,7 @@ Shape { radiusY: root.roundingY } PathLine { - x: wrapper.width - root.rounding * 2 + x: root.wrapperWidth - root.rounding * 2 } PathArc { relativeX: root.rounding -- cgit v1.2.3-freya