concord space fix
This commit is contained in:
parent
4fa0e3aad1
commit
f12fccdddb
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class Input {
|
|||
|
||||
window.addEventListener("keydown", (e)=>{
|
||||
//blocks the action of the key (cf. Killian)
|
||||
if(["Space","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.code)) {
|
||||
if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.code)) {
|
||||
e.preventDefault();
|
||||
}
|
||||
this.keysDown.add(e.key.toLowerCase())
|
||||
|
|
Loading…
Reference in a new issue