Skip to content

Commit

Permalink
fixed bug on load screen
Browse files Browse the repository at this point in the history
pressing qwerty keys didn't lose load screen
  • Loading branch information
gawainhewitt committed Jan 20, 2021
1 parent 6053624 commit dbe73a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function hideLoadScreen() {
welcome.style.visibility="visible";
welcome.addEventListener("click", startHorn);
welcome.addEventListener("touchstart", startHorn);
welcome.addEventListener('keydown', startHorn);
}

function startHorn() {
Expand Down

0 comments on commit dbe73a2

Please sign in to comment.