Skip to content

Commit 15c09be

Browse files
committed
fix: proper background for 'prefer-light' color-scheme
1 parent 2b565b2 commit 15c09be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tiling.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,10 +1671,10 @@ border-radius: ${borderWidth}px;
16711671
let path = this.settings.get_string('background') || Settings.prefs.default_background;
16721672
let useDefault = gsettings.get_boolean('use-default-background');
16731673
if (!path && useDefault) {
1674-
if (interfaceSettings.get_string("color-scheme") === "default") {
1675-
path = backgroundSettings.get_string("picture-uri");
1676-
} else {
1674+
if (interfaceSettings.get_string("color-scheme") === "prefer-dark") {
16771675
path = backgroundSettings.get_string("picture-uri-dark");
1676+
} else {
1677+
path = backgroundSettings.get_string("picture-uri");
16781678
}
16791679
}
16801680

0 commit comments

Comments
 (0)