mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-04 08:07:00 +02:00
consolidate & align collaboration socket eventing with server
This commit is contained in:
@@ -34,8 +34,7 @@ export function getDefaultAppState(): AppState {
|
||||
openMenu: null,
|
||||
lastPointerDownWith: "mouse",
|
||||
selectedElementIds: {},
|
||||
remotePointers: {},
|
||||
collaboratorCount: 0,
|
||||
collaborators: new Map(),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,6 +46,8 @@ export function clearAppStateForLocalStorage(appState: AppState) {
|
||||
editingElement,
|
||||
selectionElement,
|
||||
isResizing,
|
||||
collaborators,
|
||||
isCollaborating,
|
||||
...exportedState
|
||||
} = appState;
|
||||
return exportedState;
|
||||
|
Reference in New Issue
Block a user