From d5a32f28cdff634c461ba225ef1c3e64316a823f Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 15 Aug 2019 16:49:14 -0700 Subject: [PATCH] life --- data/life/life.js | 1 - life.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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;