Browse Source

ensure we reset draggingElement when tool locked (#627)

pull/629/head
David Luzar 6 years ago committed by GitHub
parent
commit
6886dfdea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/index.tsx

4
src/index.tsx

@ -1336,6 +1336,10 @@ export class App extends React.Component<any, AppState> { @@ -1336,6 +1336,10 @@ export class App extends React.Component<any, AppState> {
draggingElement: null,
elementType: "selection",
});
} else {
this.setState({
draggingElement: null,
});
}
history.resumeRecording();

Loading…
Cancel
Save