diff options
Diffstat (limited to 'modules/lock/Backgrounds.qml')
| -rw-r--r-- | modules/lock/Backgrounds.qml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/lock/Backgrounds.qml b/modules/lock/Backgrounds.qml index c8c5db0..2041b99 100644 --- a/modules/lock/Backgrounds.qml +++ b/modules/lock/Backgrounds.qml @@ -1,3 +1,5 @@ +pragma ComponentBehavior: Bound + import "root:/widgets" import "root:/services" import "root:/config" @@ -36,7 +38,15 @@ Item { anchors.fill: parent color: Colours.alpha(Colours.palette.m3surface, false) - visible: false + + layer.enabled: true + layer.effect: MultiEffect { + maskEnabled: true + maskInverted: true + maskSource: mask + maskThresholdMin: 0.5 + maskSpreadAtMin: 1 + } } Item { @@ -59,16 +69,6 @@ Item { } } - MultiEffect { - anchors.fill: parent - source: base - maskEnabled: true - maskInverted: true - maskSource: mask - maskThresholdMin: 0.5 - maskSpreadAtMin: 1 - } - Shape { anchors.fill: parent anchors.margins: Math.floor(innerMask.anchors.margins) |