mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-31 19:04:35 +01:00
Fix many syncing issues (#952)
This commit is contained in:
@@ -13,6 +13,11 @@ export class SceneHistory {
|
||||
private stateHistory: string[] = [];
|
||||
private redoStack: string[] = [];
|
||||
|
||||
clear() {
|
||||
this.stateHistory.length = 0;
|
||||
this.redoStack.length = 0;
|
||||
}
|
||||
|
||||
private generateEntry(
|
||||
appState: AppState,
|
||||
elements: readonly ExcalidrawElement[],
|
||||
|
||||
Reference in New Issue
Block a user