Skip to content

Commit

Permalink
Doubleclick fix - phew!
Browse files Browse the repository at this point in the history
  • Loading branch information
lewdry committed Sep 14, 2024
1 parent cbdf3e7 commit e80433b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bonk.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ function initGame() {
canvas.addEventListener('pointerup', handleEnd, false);
canvas.addEventListener('pointercancel', handleEnd, false);
document.addEventListener('pointerdown', dismissSplashScreen, false);
canvas.addEventListener('dblclick', handleDoubleTap, false);
}

showSplashScreen();
Expand Down

0 comments on commit e80433b

Please sign in to comment.