From da23e39c353e68fdc7c5839d78945e88352a7f92 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 12 Sep 2025 11:24:23 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/LockSurface.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/shell/quickshell/LockSurface.qml') 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 { NumberAnimation { target: imageEffect properties: "opacity" - duration: 5000 + duration: { + if (img === one && two.source == "" || img === two && one.source == "") + return 0; + return 5000; + } easing.type: Easing.OutCubic } ScriptAction { -- cgit v1.2.3