Prevent spacebar from scrolling

This commit is contained in:
Eevee (Evelyn Woods) 2020-08-31 12:24:07 -06:00
parent af65e3d5b3
commit 2b4450fc8c

View File

@ -826,6 +826,8 @@ class Game {
} }
return; return;
} }
// Don't scroll pls
ev.preventDefault();
} }
if (this.key_mapping[ev.key]) { if (this.key_mapping[ev.key]) {