mirror of
https://github.com/sigmasternchen/x86-64-wordle
synced 2025-03-14 23:59:00 +00:00
fix: Q was not recognized
This commit is contained in:
parent
95c59f1ff5
commit
62833f3f1b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export const Keyboard = ({enabled, used, onKey}) => {
|
|||
onKey("ENTER");
|
||||
} else if (event.key === "Backspace") {
|
||||
onKey("BACK");
|
||||
} else if (event.key.length === 1 && keys.filter(id).indexOf(event.key.toUpperCase())) {
|
||||
} else if (event.key.length === 1 && keys.filter(id).indexOf(event.key.toUpperCase()) >= 0) {
|
||||
onKey(event.key.toUpperCase());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue