fix lock screen bg appearing immediately - hide hex wave base rect in overlay mode

This commit is contained in:
Damocles 2026-04-18 11:06:54 +02:00
parent 8a701516e4
commit fe02eed625
2 changed files with 3 additions and 0 deletions

View file

@ -7,11 +7,13 @@ Item {
property bool running: false property bool running: false
property bool reducedMotion: S.Theme.reducedMotion property bool reducedMotion: S.Theme.reducedMotion
property bool overlay: false
readonly property real wavePhase: fx.uWavePhase readonly property real wavePhase: fx.uWavePhase
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
color: S.Theme.base01 color: S.Theme.base01
visible: !root.overlay
} }
ShaderEffect { ShaderEffect {

View file

@ -45,6 +45,7 @@ WlSessionLockSurface {
id: _hexWave id: _hexWave
anchors.fill: parent anchors.fill: parent
running: root.lock.secure running: root.lock.secure
overlay: true
opacity: 0.4 opacity: 0.4
} }