summaryrefslogtreecommitdiff
path: root/modules/lock/Backgrounds.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-25 16:56:07 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-25 16:56:07 +1000
commite79895b8f2c2b071e1af889247c3dd26a314aad9 (patch)
tree680175518f8fbac9fee585731096f149fd58b8e1 /modules/lock/Backgrounds.qml
parentlock: increase large screen size (diff)
downloadcaelestia-shell-e79895b8f2c2b071e1af889247c3dd26a314aad9.tar.gz
caelestia-shell-e79895b8f2c2b071e1af889247c3dd26a314aad9.tar.bz2
caelestia-shell-e79895b8f2c2b071e1af889247c3dd26a314aad9.zip
lock: completely hide media if screen too small
Diffstat (limited to 'modules/lock/Backgrounds.qml')
-rw-r--r--modules/lock/Backgrounds.qml3
1 files changed, 2 insertions, 1 deletions
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