@@ -89,7 +89,7 @@ export const actionFinalize = register({
}
: appState.selectedElementIds,
},
- commitToHistory: false,
+ commitToHistory: appState.elementType === "draw",
};
keyTest: (event, appState) =>
@@ -2340,7 +2340,6 @@ class App extends React.Component<any, AppState> {
if (draggingElement?.type === "draw") {
this.actionManager.executeAction(actionFinalize);
- history.resumeRecording();
return;
if (isLinearElement(draggingElement)) {