From: Benjamin Auder Date: Sun, 16 Feb 2020 17:54:06 +0000 (+0100) Subject: Experimental fix attempt in Board.vue (bad behavior on smartphones) X-Git-Url: https://git.auder.net/variants/img/doc/html/current/git-favicon.png?a=commitdiff_plain;h=1d06a8b9c4ba69bd56d9b08841fcd52b5ac409e9;p=vchess.git Experimental fix attempt in Board.vue (bad behavior on smartphones) --- diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 8d7f7bd1..0f6bae3f 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -251,12 +251,12 @@ export default { { // NOTE: click = mousedown + mouseup on: { - mousedown: this.mousedown, - mousemove: this.mousemove, - mouseup: this.mouseup, - //touchstart: this.mousedown, +// mousedown: this.mousedown, +// mousemove: this.mousemove, +// mouseup: this.mouseup, + touchstart: this.mousedown, touchmove: this.mousemove, - //touchend: this.mouseup, + touchend: this.mouseup, }, }, elementArray