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
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)) {