mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
fix(presets): punctuation and numbers modes not being enabled in certain situations
this was done by moving the setter functions to be called after setting the mode config closes #5454
This commit is contained in:
parent
2c0002c919
commit
b2a8604994
1 changed files with 2 additions and 2 deletions
|
@ -1874,8 +1874,6 @@ export async function apply(
|
|||
setMinWpmCustomSpeed(configObj.minWpmCustomSpeed, true);
|
||||
setMinAcc(configObj.minAcc, true);
|
||||
setMinAccCustom(configObj.minAccCustom, true);
|
||||
setNumbers(configObj.numbers, true);
|
||||
setPunctuation(configObj.punctuation, true);
|
||||
setHighlightMode(configObj.highlightMode, true);
|
||||
setTypingSpeedUnit(configObj.typingSpeedUnit, true);
|
||||
setHideExtraLetters(configObj.hideExtraLetters, true);
|
||||
|
@ -1883,6 +1881,8 @@ export async function apply(
|
|||
setStrictSpace(configObj.strictSpace, true);
|
||||
setOppositeShiftMode(configObj.oppositeShiftMode, true);
|
||||
setMode(configObj.mode, true);
|
||||
setNumbers(configObj.numbers, true);
|
||||
setPunctuation(configObj.punctuation, true);
|
||||
setMonkey(configObj.monkey, true);
|
||||
setRepeatQuotes(configObj.repeatQuotes, true);
|
||||
setMonkeyPowerLevel(configObj.monkeyPowerLevel, true);
|
||||
|
|
Loading…
Reference in a new issue