projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Experimental revert in Board.vue (bad behavior on smartphones)
[vchess.git]
/
client
/
src
/
components
/
Board.vue
diff --git
a/client/src/components/Board.vue
b/client/src/components/Board.vue
index
377013a
..
818b2a3
100644
(file)
--- 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
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,
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
},
},
elementArray