mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
converting to float just in case
This commit is contained in:
parent
db59ed01aa
commit
03c2d1db50
|
@ -127,6 +127,7 @@ $(".section.customBackgroundFilter .save.button").click(() => {
|
|||
|
||||
ConfigEvent.subscribe((eventKey, eventValue) => {
|
||||
if (eventKey === "customBackgroundFilter") {
|
||||
((eventValue as unknown) as any[]).map((ev) => parseFloat(ev));
|
||||
loadConfig((eventValue as unknown) as number[]);
|
||||
apply();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue