mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fix history saving for resizing/dragging element (#292)
This commit is contained in:
parent
81f23a8ccb
commit
3eb6d1de68
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue