mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 05:35:05 +08:00
using parse float instead (im stupid)
This commit is contained in:
parent
9996d90e42
commit
88a35c3d7c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue