converting to float just in case

This commit is contained in:
Miodec 2022-02-14 16:57:47 +01:00
parent db59ed01aa
commit 03c2d1db50

View file

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