mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
@@ -240,10 +240,9 @@ DankModal {
|
|||||||
|
|
||||||
CachingImage {
|
CachingImage {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
imagePath: !delegateRoot.fileIsDir ? delegateRoot.filePath : ""
|
source: (!delegateRoot.fileIsDir && isImageFile(delegateRoot.fileName)) ? ("file://" + delegateRoot.filePath) : ""
|
||||||
fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
visible: !delegateRoot.fileIsDir && isImageFile(
|
visible: !delegateRoot.fileIsDir && isImageFile(delegateRoot.fileName)
|
||||||
delegateRoot.fileName)
|
|
||||||
maxCacheSize: 80
|
maxCacheSize: 80
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ Item {
|
|||||||
CachingImage {
|
CachingImage {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 1
|
anchors.margins: 1
|
||||||
imagePath: SessionData.wallpaperPath || ""
|
source: SessionData.wallpaperPath !== "" ? "file://" + SessionData.wallpaperPath : ""
|
||||||
fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
visible: SessionData.wallpaperPath !== ""
|
visible: SessionData.wallpaperPath !== ""
|
||||||
maxCacheSize: 160
|
maxCacheSize: 160
|
||||||
|
|||||||
Reference in New Issue
Block a user