mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-07 23:26:59 +08:00
fix(keymap): dynamic legends not working correctly
This commit is contained in:
parent
a424f96480
commit
d863e8d70e
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ async function updateLegends(): Promise<void> {
|
|||
const layoutKeys = keymapKeys.map((el) => el.dataset["key"]);
|
||||
if (layoutKeys.includes(undefined)) return;
|
||||
|
||||
const keys = keymapKeys.map((el) => el.childNodes[1]);
|
||||
const keys = keymapKeys.map((el) => el.childNodes[0]);
|
||||
|
||||
const [lettersState, symbolsState] = states;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue