mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix free draw to allow undo (#1594)
This commit is contained in:
parent
ad81033a78
commit
c32640d174
2 changed files with 275 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue