X-Git-Url: https://git.auder.net/assets/current/gitweb.css?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=a1949d89330ad92d67295a39175f4879ee0cf9ff;hb=65495c17c7dafb8f29af295699087ae90bdc1940;hp=377013a1e5eb95223af6cfd0bccc5bc6d5a771b9;hpb=bd76b45611cbb58dcf774745a4d690277a82aacd;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 377013a1..a1949d89 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -75,8 +75,6 @@ export default { 'class': { 'choice-piece': true }, 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=[]; }, }, }) ] @@ -254,9 +252,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