diff --git a/data/life/life.js b/data/life/life.js index 80c4deb4..4fcd0b8d 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -308,7 +308,6 @@ var touchX = [], touchY = [], clicking = false document.getElementById("mainGrid").addEventListener("mousedown", startMouseCoordinates, true) window.addEventListener("mousemove", updateMouseCoordinates, true) window.addEventListener("mouseup", endMouseCoordinates, true) -window.addEventListener("mouseup", clearTimers) function startMouseCoordinates() { clicking = true updatePlayerBoxes() diff --git a/life.html b/life.html index c0d685c4..c979bbf1 100644 --- a/life.html +++ b/life.html @@ -99,7 +99,6 @@ font-family: belerenbsc; font-size: 24pt; margin: 0px; - touch-action: manipulation; } image, div, canvas { user-select: none; @@ -114,6 +113,7 @@ body { background-color: #333; color: white; + touch-action: manipulation; } .mainGrid { display: grid;