mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-30 02:39:05 +08:00
fix(config): being able to set min accuracy over 100
This commit is contained in:
parent
9493f4bf14
commit
3e72b03901
1 changed files with 1 additions and 0 deletions
|
|
@ -527,6 +527,7 @@ export function setMinAcc(
|
|||
|
||||
export function setMinAccCustom(val: number, nosave?: boolean): boolean {
|
||||
if (!isConfigValueValid("min acc custom", val, ["number"])) return false;
|
||||
if (val > 100) val = 100;
|
||||
|
||||
config.minAccCustom = val;
|
||||
saveToLocalStorage("minAccCustom", nosave);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue