Skip to content

Commit b024e8e

Browse files
committed
fix: custom background not working
1 parent e5b0978 commit b024e8e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/src/html/pages/settings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@
13641364
<div class="group opacity">
13651365
<div class="title">opacity</div>
13661366
<div class="value"></div>
1367-
<input type="range" min="0" max="1" value="1" step="0.1" />
1367+
<input type="range" min="0.1" max="1" value="1" step="0.1" />
13681368
</div>
13691369
</div>
13701370
</div>

frontend/src/ts/controllers/theme-controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ ConfigEvent.subscribe(async (eventKey, eventValue, nosave) => {
439439
await set(Config.theme);
440440
}
441441
}
442+
applyCustomBackground();
442443
}
443444

444445
// this is here to prevent calling set / preview multiple times during a full config loading

0 commit comments

Comments
 (0)