diff --git a/src/index.tsx b/src/index.tsx index 199884a4..0c61158b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -829,6 +829,8 @@ export class App extends React.Component<{}, AppState> { draggingElement: null, elementType: "selection" }); + + history.resumeRecording(); this.forceUpdate(); }; @@ -1058,7 +1060,6 @@ export class App extends React.Component<{}, AppState> { history.pushEntry(history.generateCurrentEntry(elements)); history.clearRedoStack(); } - history.resumeRecording(); } }