mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-09 15:15:58 +08:00
fix: custom background not working
This commit is contained in:
parent
e5b0978d4e
commit
b024e8ea46
2 changed files with 2 additions and 1 deletions
|
@ -1364,7 +1364,7 @@
|
|||
<div class="group opacity">
|
||||
<div class="title">opacity</div>
|
||||
<div class="value"></div>
|
||||
<input type="range" min="0" max="1" value="1" step="0.1" />
|
||||
<input type="range" min="0.1" max="1" value="1" step="0.1" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -439,6 +439,7 @@ ConfigEvent.subscribe(async (eventKey, eventValue, nosave) => {
|
|||
await set(Config.theme);
|
||||
}
|
||||
}
|
||||
applyCustomBackground();
|
||||
}
|
||||
|
||||
// this is here to prevent calling set / preview multiple times during a full config loading
|
||||
|
|
Loading…
Add table
Reference in a new issue