summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml b/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml
index de31915f..4f85a900 100644
--- a/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml
+++ b/accounts/gkleen@sif/shell/quickshell/WallpaperBackground.qml
@@ -73,7 +73,11 @@ Item {
73 NumberAnimation { 73 NumberAnimation {
74 target: img 74 target: img
75 properties: "opacity" 75 properties: "opacity"
76 duration: 5000 76 duration: {
77 if (img === one && two.source == "" || img === two && one.source == "")
78 return 0;
79 return 5000;
80 }
77 easing.type: Easing.OutCubic 81 easing.type: Easing.OutCubic
78 } 82 }
79 ScriptAction { 83 ScriptAction {