mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
lockscreen: Use simpler logic for blur
This commit is contained in:
parent
ba597e1de2
commit
6824e2d2b9
1 changed files with 2 additions and 5 deletions
|
|
@ -10,16 +10,13 @@ FastBlur {
|
|||
id: fastBlur
|
||||
cached: true
|
||||
radius: 50
|
||||
opacity: 0
|
||||
|
||||
property bool blur
|
||||
opacity: blur ? 1 : 0
|
||||
|
||||
Behavior on blur {
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
target: fastBlur
|
||||
property: "opacity"
|
||||
duration: 1000
|
||||
to: fastBlur.blur ? 0 : 1
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue