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