diff --git a/frontend/src/scripts/elements/custom-background-filter.ts b/frontend/src/scripts/elements/custom-background-filter.ts index ac2db4ac6..83420047c 100644 --- a/frontend/src/scripts/elements/custom-background-filter.ts +++ b/frontend/src/scripts/elements/custom-background-filter.ts @@ -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(); }