From 0a6fbd3d0effcb12294dc2ba8f356a820c91b2ad Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Sun, 16 Feb 2020 18:50:22 +0100 Subject: [PATCH] Experimental revert in Board.vue (bad behavior on smartphones) --- client/src/components/Board.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 377013a1..818b2a3f 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -76,7 +76,7 @@ export default { on: { "click": e => { this.play(m); this.choices=[]; }, // NOTE: add 'touchstart' event to fix a problem on smartphones - "touchstart": e => { this.play(m); this.choices=[]; }, + //"touchstart": e => { this.play(m); this.choices=[]; }, }, }) ] @@ -254,9 +254,9 @@ export default { mousedown: this.mousedown, mousemove: this.mousemove, mouseup: this.mouseup, - touchstart: this.mousedown, - touchmove: this.mousemove, - touchend: this.mouseup, + //touchstart: this.mousedown, + //touchmove: this.mousemove, + //touchend: this.mouseup, }, }, elementArray -- 2.44.0