mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
optimize wallpaper
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user