diff --git a/src/containers/stage.jsx b/src/containers/stage.jsx index fcff811bffef4092b0c912a240dd95466f11272b..dcf11835e97741a3e88a0a012dbc2b0fec412ba0 100644 --- a/src/containers/stage.jsx +++ b/src/containers/stage.jsx @@ -192,7 +192,7 @@ class Stage extends React.Component { this.updateRect(); const {x, y} = getEventXY(e); const mousePosition = [x - this.rect.left, y - this.rect.top]; - if (e.button === 0) { + if (e.button === 0 || e instanceof TouchEvent) { this.setState({ mouseDown: true, mouseDownPosition: mousePosition,