1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

Fix Wallpaper preview

This commit is contained in:
xdenotte
2025-08-21 00:02:11 +02:00
parent be4c09e56d
commit b38afe9d9e
2 changed files with 3 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ Item {
CachingImage {
anchors.fill: parent
anchors.margins: 1
imagePath: SessionData.wallpaperPath || ""
source: SessionData.wallpaperPath !== "" ? "file://" + SessionData.wallpaperPath : ""
fillMode: Image.PreserveAspectCrop
visible: SessionData.wallpaperPath !== ""
maxCacheSize: 160