(Temporarily) Disable touch handling for smartphones
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 4 Dec 2018 16:32:36 +0000 (17:32 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 4 Dec 2018 16:32:36 +0000 (17:32 +0100)
public/javascripts/components/game.js

index 2a9a701..04185a7 100644 (file)
@@ -437,9 +437,9 @@ Vue.component('my-game', {
                                        mousedown: this.mousedown,
                                        mousemove: this.mousemove,
                                        mouseup: this.mouseup,
-                                       touchstart: this.mousedown,
-                                       touchmove: this.mousemove,
-                                       touchend: this.mouseup,
+//                                     touchstart: this.mousedown, //TODO...
+//                                     touchmove: this.mousemove,
+//                                     touchend: this.mouseup,
                                },
                        },
                        elementArray