From 88a35c3d7cc008d8d134e0f5450d66be678f9d53 Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 21 Feb 2022 14:13:16 +0100 Subject: [PATCH] using parse float instead (im stupid) --- frontend/src/scripts/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scripts/config.ts b/frontend/src/scripts/config.ts index 469aef053..56217673d 100644 --- a/frontend/src/scripts/config.ts +++ b/frontend/src/scripts/config.ts @@ -1696,7 +1696,7 @@ export function setCustomBackgroundFilter( nosave?: boolean ): void { array = (array as unknown as string[]).map((value) => - parseInt(value) + parseFloat(value) ) as MonkeyTypes.CustomBackgroundFilter; if (!isConfigValueValid(array, ["numberArray"])) return invalid("custom background filter", array);