X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=818b2a3f834985b0a2737eaa4d8c4f7f95b342ff;hb=0a6fbd3d0effcb12294dc2ba8f356a820c91b2ad;hp=377013a1e5eb95223af6cfd0bccc5bc6d5a771b9;hpb=566592f84607adf19a812f00c13a75e85d8468e7;p=vchess.git 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