diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-03 23:56:37 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-03 23:56:37 +1000 |
| commit | 00d3c1a472888817d7649391d4a8485c5fc6f6f5 (patch) | |
| tree | 45b351c62f61ede55acfc209dde686f1c161a942 /modules/launcher/Background.qml | |
| parent | feat: use multieffect instead of qt5compat (diff) | |
| download | caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.tar.gz caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.tar.bz2 caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.zip | |
feat: launcher wallpaper selector
Diffstat (limited to 'modules/launcher/Background.qml')
| -rw-r--r-- | modules/launcher/Background.qml | 5 |
1 files changed, 2 insertions, 3 deletions
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 |