Skip to content

Commit

Permalink
Update bonk.js
Browse files Browse the repository at this point in the history
commented out listener
lewdry authored Sep 1, 2024
1 parent 81bda73 commit 7cff2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bonk.js
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ function initGame() {
resetGame();

canvas.addEventListener('pointerdown', handleStart, false);
canvas.addEventListener('touchstart', handleStart, false);
// don't use this for now - canvas.addEventListener('touchstart', handleStart, false);
canvas.addEventListener('pointermove', handleMove, false);
canvas.addEventListener('pointerup', handleEnd, false);
canvas.addEventListener('pointercancel', handleEnd, false);

0 comments on commit 7cff2b1

Please sign in to comment.