Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
- Fix space not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ParticleG committed Jun 15, 2023
1 parent f21e6a9 commit 07d7b4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Binary file removed public/game.data
Binary file not shown.
6 changes: 0 additions & 6 deletions src/components/LovePlayground.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ onMounted(() => {
window.onclick = function () {
window.focus();
};
window.addEventListener("keydown", function (e) {
// space and arrow keys
if ([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
e.preventDefault();
}
}, false);
const module = {
arguments: ["./game.love"],
Expand Down

0 comments on commit 07d7b4a

Please sign in to comment.