Skip to content
Snippets Groups Projects
Commit a453cc9c authored by Jake Bartles's avatar Jake Bartles
Browse files

all changes reverted, bugs should be gone

parent 38179e17
No related branches found
No related tags found
No related merge requests found
......@@ -179,16 +179,15 @@ class Stage extends React.Component {
this.updateRect();
const {x, y} = getEventXY(e);
const mousePosition = [x - this.rect.left, y - this.rect.top];
if (true) {
this.setState({
mouseDown: true,
mouseDownPosition: mousePosition,
mouseDownTimeoutId: setTimeout(
this.onStartDrag.bind(this, mousePosition[0], mousePosition[1]),
500
)
});
}
this.setState({
mouseDown: true,
mouseDownPosition: mousePosition,
mouseDownTimeoutId: setTimeout(
this.onStartDrag.bind(this, mousePosition[0], mousePosition[1]),
500
)
});
const data = {
isDown: true,
x: mousePosition[0],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment