mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
fix(tape mode): not scrolling for extra letters
This commit is contained in:
parent
f96b8efdaa
commit
c1afd13362
1 changed files with 1 additions and 1 deletions
|
@ -950,7 +950,7 @@ export function scrollTape(): void {
|
|||
if (!letters) return;
|
||||
for (let i = 0; i < TestInput.input.current.length; i++) {
|
||||
const letter = letters[i] as HTMLElement;
|
||||
if (letter.classList.contains("extra")) return;
|
||||
if (Config.blindMode && letter.classList.contains("extra")) return;
|
||||
currentWordWidth += $(letter).outerWidth(true) ?? 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue