consolidate & align collaboration socket eventing with server

This commit is contained in:
dwelle 2020-03-12 12:19:56 +01:00
parent 96320478e6
commit 5706dd7ae2
7 changed files with 39 additions and 29 deletions

View file

@ -35,8 +35,7 @@ export type AppState = {
openMenu: "canvas" | "shape" | null;
lastPointerDownWith: PointerType;
selectedElementIds: { [id: string]: boolean };
remotePointers: { [id: string]: { x: number; y: number } };
collaboratorCount: number;
collaborators: Map<string, { pointer?: { x: number; y: number } }>;
};
export type PointerCoords = Readonly<{