Skip to content

Commit 0f4d311

Browse files
authored
fix(input-controller): update keymap UI on backspace in layout emulator (@47th) (monkeytypegame#6675)
### Description Fixes the keymap UI not highlighting the current letter to be typed when backspaced to a previous word in layout emulator. https://github.com/user-attachments/assets/12ba72d8-567b-4097-bbf6-407814140545
1 parent 1ace28d commit 0f4d311

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/ts/controllers/input-controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,7 @@ $("#wordsInput").on("input", (event) => {
13351335
inputValue.length >= currTestInput.length
13361336
) {
13371337
setWordsInput(" " + currTestInput);
1338+
updateUI();
13381339
return;
13391340
}
13401341

0 commit comments

Comments
 (0)