mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
Update keymap when using layout emulator too (#1947) by SeerLite
Fixes #1945
This commit is contained in:
parent
3ad62f393c
commit
acc6a699d6
1 changed files with 10 additions and 0 deletions
|
@ -710,6 +710,16 @@ $(document).keydown((event) => {
|
|||
event.preventDefault();
|
||||
handleChar(char, TestLogic.input.current.length);
|
||||
}
|
||||
|
||||
if (Config.keymapMode === "next" && Config.mode !== "zen") {
|
||||
Keymap.highlightKey(
|
||||
TestLogic.words
|
||||
.getCurrent()
|
||||
.charAt(TestLogic.input.current.length)
|
||||
.toString()
|
||||
.toUpperCase()
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue