mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-08-28 12:47:00 +02:00
Fix free draw to allow undo (#1594)
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user