mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 18:03:30 +08:00
always updating last keypress
This commit is contained in:
parent
5e115eb34f
commit
7633155336
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,6 @@ function handleSpace(): void {
|
|||
Caret.updatePosition();
|
||||
TestInput.incrementKeypressCount();
|
||||
TestInput.pushKeypressWord(TestWords.words.currentIndex);
|
||||
TestInput.updateLastKeypress();
|
||||
if (Config.difficulty == "expert" || Config.difficulty == "master") {
|
||||
TestLogic.fail("difficulty");
|
||||
return;
|
||||
|
@ -249,6 +248,7 @@ function handleSpace(): void {
|
|||
}
|
||||
Replay.addReplayEvent("submitErrorWord");
|
||||
}
|
||||
TestInput.updateLastKeypress();
|
||||
|
||||
let wordLength: number;
|
||||
if (Config.mode === "zen") {
|
||||
|
|
Loading…
Reference in a new issue