1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

optimize wallpaper

This commit is contained in:
bbedward
2025-08-14 23:43:07 -04:00
parent b9df98a1f5
commit bf493b39fd

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 {