optimize wallpaper

This commit is contained in:
bbedward committed 2025-08-14 23:43:07 -04:00
1 parent b9df98a1f5
commit bf493b39fd
1 file changed
+10 -2
+10 -2
View File
@@ -104,13 +104,21 @@ LazyLoader {
fillMode: Image.PreserveAspectCrop
smooth: true
asynchronous: true
cache: true
cache: false
sourceSize.width: parent.width
sourceSize.height: parent.height
opacity: 0
onStatusChanged: {
if (status === Image.Ready)
if (status === Image.Ready) {
root.current = this
if (root.current === one && two.source) {
two.source = ""
} else if (root.current === two && one.source) {
one.source = ""
}
}
}
states: State {