Experimental fix attempt in Board.vue (bad behavior on smartphones)
authorBenjamin Auder <benjamin.auder@somewhere>
Sun, 16 Feb 2020 17:54:06 +0000 (18:54 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Sun, 16 Feb 2020 17:54:06 +0000 (18:54 +0100)
client/src/components/Board.vue

index 8d7f7bd..0f6bae3 100644 (file)
@@ -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