Skip to content

Commit c1afd13

Browse files
committed
fix(tape mode): not scrolling for extra letters
1 parent f96b8ef commit c1afd13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/ts/test/test-ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ export function scrollTape(): void {
950950
if (!letters) return;
951951
for (let i = 0; i < TestInput.input.current.length; i++) {
952952
const letter = letters[i] as HTMLElement;
953-
if (letter.classList.contains("extra")) return;
953+
if (Config.blindMode && letter.classList.contains("extra")) return;
954954
currentWordWidth += $(letter).outerWidth(true) ?? 0;
955955
}
956956
}

0 commit comments

Comments
 (0)