From b854218789dc4a845ffaefed417590b28ec122aa Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 3 Apr 2022 22:44:57 +0300 Subject: [PATCH] test fix --- src/client/canvas.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/canvas.ts b/src/client/canvas.ts index 36feaf2..125f87a 100644 --- a/src/client/canvas.ts +++ b/src/client/canvas.ts @@ -170,6 +170,7 @@ export class ViewCanvas { }); this._wrapper.addEventListener('touchstart', (ev: TouchEvent) => { + ev.preventDefault(); const touch = ev.touches[0] || ev.changedTouches[0]; this._mousex = touch.pageX; this._mousey = touch.pageY;