From 55ce7399852d42eb0abf9d4e6239445b982c5735 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 15 Aug 2019 17:13:22 -0700 Subject: [PATCH] life --- data/life/life.js | 4 ++-- life.html | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/data/life/life.js b/data/life/life.js index 331e2c96..17ccb9fe 100644 --- a/data/life/life.js +++ b/data/life/life.js @@ -357,9 +357,9 @@ function endTouch() { touchX[i] = event.touches[i].clientX touchY[i] = event.touches[i].clientY } - clearTimeout(loop) - clearTimers() if (event.touches.length < 1) { clicking = false + clearTimeout(loop) + clearTimers() } } \ No newline at end of file diff --git a/life.html b/life.html index c979bbf1..3bd39e3f 100644 --- a/life.html +++ b/life.html @@ -123,14 +123,8 @@ height: 100%; align-items: center; } - canvas { - /*touch-action: manipulation !important;*/ - } #gridShell { display: none; - /*position: fixed; - top: 0; - left: 0;*/ } #gridShell:fullscreen { display: inline-block;