summaryrefslogtreecommitdiff
path: root/services/Wallpapers.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-23 19:36:00 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-23 19:36:00 +1000
commit2a68d79422c9e8381596bcdc526c7f15146560b1 (patch)
tree63e5902a487757c80393bd96fd699b2d554b6e13 /services/Wallpapers.qml
parentlock: add media (diff)
downloadcaelestia-shell-2a68d79422c9e8381596bcdc526c7f15146560b1.tar.gz
caelestia-shell-2a68d79422c9e8381596bcdc526c7f15146560b1.tar.bz2
caelestia-shell-2a68d79422c9e8381596bcdc526c7f15146560b1.zip
wallpapers: only preview dynamic if current
Don't preview dynamic colour scheme in wallpaper picker when the current scheme isnt set to the dynamic scheme
Diffstat (limited to 'services/Wallpapers.qml')
-rw-r--r--services/Wallpapers.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml
index 15424b7..4bce290 100644
--- a/services/Wallpapers.qml
+++ b/services/Wallpapers.qml
@@ -42,7 +42,9 @@ Singleton {
function preview(path: string): void {
previewPath = path;
showPreview = true;
- getPreviewColoursProc.running = true;
+
+ if (Colours.scheme === "dynamic")
+ getPreviewColoursProc.running = true;
}
function stopPreview(): void {