mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
fix(custom text): limit sometimes being set incorrectly in simple mode
This commit is contained in:
parent
0d57735b40
commit
99cc7042ea
1 changed files with 3 additions and 0 deletions
|
@ -346,6 +346,9 @@ function apply(): void {
|
|||
|
||||
if (state.customTextMode === "simple") {
|
||||
CustomText.setMode("repeat");
|
||||
state.customTextLimits.word = `${text.length}`;
|
||||
state.customTextLimits.time = "";
|
||||
state.customTextLimits.section = "";
|
||||
} else {
|
||||
CustomText.setMode(state.customTextMode);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue