Skip to content

Commit 75236f1

Browse files
committed
fix: zen mode jumping when first word has no letters
!nuf
1 parent c55901e commit 75236f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,9 @@ export async function updateActiveWordLetters(
774774
ret += `<letter class="correct">${char}</letter>`;
775775
}
776776
}
777+
if (TestInput.input.current === "") {
778+
ret += `<letter>ㅤ</letter>`;
779+
}
777780
} else {
778781
let correctSoFar = false;
779782

0 commit comments

Comments
 (0)