fix lock screen bg appearing immediately - hide hex wave base rect in overlay mode
This commit is contained in:
parent
8a701516e4
commit
fe02eed625
2 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue