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;