mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-10 17:34:24 +08:00
actually using the converted values
This commit is contained in:
parent
03c2d1db50
commit
994d1bc609
1 changed files with 1 additions and 2 deletions
|
|
@ -127,8 +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[]);
|
||||
loadConfig(((eventValue as unknown) as any[]).map((ev) => parseFloat(ev)));
|
||||
apply();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue