mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 17:27:32 +08:00
style(blind mode): dont highlight letters to the right of the caret when blind mode and stop on letter are enabled
closes #5387
This commit is contained in:
parent
c9c4d7fdc1
commit
0158292524
1 changed files with 3 additions and 1 deletions
|
|
@ -643,7 +643,9 @@ function handleChar(
|
|||
Config.stopOnError === "letter" &&
|
||||
!thisCharCorrect
|
||||
) {
|
||||
void TestUI.updateWordElement(undefined, TestInput.input.current + char);
|
||||
if (!Config.blindMode) {
|
||||
void TestUI.updateWordElement(undefined, TestInput.input.current + char);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue