diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/LockSurface.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/LockSurface.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/LockSurface.qml b/accounts/gkleen@sif/shell/quickshell/LockSurface.qml index 18698725..f4f8f0cd 100644 --- a/accounts/gkleen@sif/shell/quickshell/LockSurface.qml +++ b/accounts/gkleen@sif/shell/quickshell/LockSurface.qml | |||
| @@ -110,7 +110,11 @@ Item { | |||
| 110 | NumberAnimation { | 110 | NumberAnimation { |
| 111 | target: imageEffect | 111 | target: imageEffect |
| 112 | properties: "opacity" | 112 | properties: "opacity" |
| 113 | duration: 5000 | 113 | duration: { |
| 114 | if (img === one && two.source == "" || img === two && one.source == "") | ||
| 115 | return 0; | ||
| 116 | return 5000; | ||
| 117 | } | ||
| 114 | easing.type: Easing.OutCubic | 118 | easing.type: Easing.OutCubic |
| 115 | } | 119 | } |
| 116 | ScriptAction { | 120 | ScriptAction { |
