actually using the converted values

This commit is contained in:
Miodec 2022-02-14 17:01:43 +01:00
parent 03c2d1db50
commit 994d1bc609

View file

@ -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();
}
});