From e79895b8f2c2b071e1af889247c3dd26a314aad9 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:56:07 +1000 Subject: lock: completely hide media if screen too small --- modules/lock/Backgrounds.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/lock/Backgrounds.qml') diff --git a/modules/lock/Backgrounds.qml b/modules/lock/Backgrounds.qml index 2b08ab1..3ac4999 100644 --- a/modules/lock/Backgrounds.qml +++ b/modules/lock/Backgrounds.qml @@ -10,6 +10,7 @@ Item { required property bool locked required property real weatherWidth + required property bool isNormal required property bool isLarge readonly property real clockBottom: innerMask.anchors.margins + clockPath.height @@ -277,7 +278,7 @@ Item { readonly property real roundingY: height < rounding * 2 ? height / 2 : rounding strokeWidth: -1 - fillColor: Config.border.colour + fillColor: root.isNormal ? Config.border.colour : "transparent" startX: root.isLarge ? 0 : Math.ceil(innerMask.width) startY: root.isLarge ? height + roundingY : Math.ceil(innerMask.height) - height - roundingY -- cgit v1.2.3-freya