Prevent spacebar from scrolling
This commit is contained in:
parent
af65e3d5b3
commit
2b4450fc8c
@ -826,6 +826,8 @@ class Game {
|
||||
}
|
||||
return;
|
||||
}
|
||||
// Don't scroll pls
|
||||
ev.preventDefault();
|
||||
}
|
||||
|
||||
if (this.key_mapping[ev.key]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user