Fix free draw to allow undo (#1594)

This commit is contained in:
fujimoto kyosuke 2020-05-14 21:32:10 +09:00 committed by GitHub
parent ad81033a78
commit c32640d174
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 275 additions and 2 deletions

View file

@ -2340,6 +2340,7 @@ class App extends React.Component<any, AppState> {
if (draggingElement?.type === "draw") {
this.actionManager.executeAction(actionFinalize);
history.resumeRecording();
return;
}
if (isLinearElement(draggingElement)) {