mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
ensure we reset draggingElement when tool locked (#627)
This commit is contained in:
parent
35750d8d09
commit
6886dfdea7
1 changed files with 4 additions and 0 deletions
|
@ -1336,6 +1336,10 @@ export class App extends React.Component<any, AppState> {
|
||||||
draggingElement: null,
|
draggingElement: null,
|
||||||
elementType: "selection",
|
elementType: "selection",
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
this.setState({
|
||||||
|
draggingElement: null,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
history.resumeRecording();
|
history.resumeRecording();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue