ensure we reset draggingElement when tool locked (#627)
This commit is contained in:
@ -1336,6 +1336,10 @@ export class App extends React.Component<any, AppState> {
|
||||
draggingElement: null,
|
||||
elementType: "selection",
|
||||
});
|
||||
} else {
|
||||
this.setState({
|
||||
draggingElement: null,
|
||||
});
|
||||
}
|
||||
|
||||
history.resumeRecording();
|
||||
|
Reference in New Issue
Block a user