summaryrefslogtreecommitdiff
path: root/modules/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher')
-rw-r--r--modules/launcher/WallpaperItem.qml10
1 files changed, 3 insertions, 7 deletions
diff --git a/modules/launcher/WallpaperItem.qml b/modules/launcher/WallpaperItem.qml
index bbd611c..c3dd57a 100644
--- a/modules/launcher/WallpaperItem.qml
+++ b/modules/launcher/WallpaperItem.qml
@@ -25,22 +25,18 @@ StyledRect {
}
}
- Image {
+ CachingImage {
id: image
anchors.horizontalCenter: parent.horizontalCenter
y: Appearance.padding.normal
visible: false
- source: `file://${root.modelData.path}`
- asynchronous: true
- fillMode: Image.PreserveAspectCrop
+ path: root.modelData.path
smooth: !root.PathView.view.moving
width: LauncherConfig.sizes.wallpaperWidth
height: width / 16 * 9
- sourceSize.width: width
- sourceSize.height: height
}
Rectangle {
@@ -70,7 +66,7 @@ StyledRect {
renderType: Text.QtRendering
text: root.modelData.name
- font.pointSize: Appearance.font.size.small
+ font.pointSize: Appearance.font.size.normal
}
Behavior on scale {