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
This commit is contained in:
parent
92700bbd84
commit
2a68d79422
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ Singleton {
|
||||||
function preview(path: string): void {
|
function preview(path: string): void {
|
||||||
previewPath = path;
|
previewPath = path;
|
||||||
showPreview = true;
|
showPreview = true;
|
||||||
getPreviewColoursProc.running = true;
|
|
||||||
|
if (Colours.scheme === "dynamic")
|
||||||
|
getPreviewColoursProc.running = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function stopPreview(): void {
|
function stopPreview(): void {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue