summaryrefslogtreecommitdiff
path: root/modules/background
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-05 17:15:10 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-05 17:15:10 +1000
commit57f815bdc885960ba27c0028d044a0977afd3eba (patch)
tree62827b6a865b67b5767a0427b7ea82b2195d854e /modules/background
parentfeat: wallpaper and colour preview (diff)
downloadcaelestia-shell-57f815bdc885960ba27c0028d044a0977afd3eba.tar.gz
caelestia-shell-57f815bdc885960ba27c0028d044a0977afd3eba.tar.bz2
caelestia-shell-57f815bdc885960ba27c0028d044a0977afd3eba.zip
wallpaper: limit source size
Also animate launcher and osd background colours
Diffstat (limited to 'modules/background')
-rw-r--r--modules/background/Wallpaper.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/background/Wallpaper.qml b/modules/background/Wallpaper.qml
index b126617..2ffc922 100644
--- a/modules/background/Wallpaper.qml
+++ b/modules/background/Wallpaper.qml
@@ -43,6 +43,8 @@ Item {
fillMode: Image.PreserveAspectCrop
opacity: 0
scale: Wallpapers.showPreview ? 1 : 0.8
+ sourceSize.width: width
+ sourceSize.height: height
onStatusChanged: {
if (status === Image.Ready)