mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 21:53:13 +08:00
changing the correction amount
This commit is contained in:
parent
9c23c28e00
commit
691ee21c72
1 changed files with 2 additions and 2 deletions
|
@ -4580,7 +4580,7 @@ $(document).keydown((event) => {
|
|||
//correct word
|
||||
if (paceCaret !== null && paceCaret.wordsStatus[currentWordIndex] === true) {
|
||||
paceCaret.wordsStatus[currentWordIndex] = undefined;
|
||||
paceCaret.correction -= currentWord.length + 1;
|
||||
paceCaret.correction -= currentWord.length;
|
||||
}
|
||||
accuracyStats.correct++;
|
||||
inputHistory.push(currentInput);
|
||||
|
@ -4596,7 +4596,7 @@ $(document).keydown((event) => {
|
|||
//incorrect word
|
||||
if (paceCaret !== null && paceCaret.wordsStatus[currentWordIndex] === undefined) {
|
||||
paceCaret.wordsStatus[currentWordIndex] = true;
|
||||
paceCaret.correction += currentWord.length + 1;
|
||||
paceCaret.correction += currentWord.length;
|
||||
}
|
||||
if (!config.playSoundOnError || config.blindMode) {
|
||||
playClickSound();
|
||||
|
|
Loading…
Reference in a new issue