sync remote selection (#1207)
* sync remote selection * skip deleted elements * remove unnecessary condition & change naming
This commit is contained in:
11
src/types.ts
11
src/types.ts
@ -43,7 +43,16 @@ export type AppState = {
|
||||
openMenu: "canvas" | "shape" | null;
|
||||
lastPointerDownWith: PointerType;
|
||||
selectedElementIds: { [id: string]: boolean };
|
||||
collaborators: Map<string, { pointer?: { x: number; y: number } }>;
|
||||
collaborators: Map<
|
||||
string,
|
||||
{
|
||||
pointer?: {
|
||||
x: number;
|
||||
y: number;
|
||||
};
|
||||
selectedElementIds?: AppState["selectedElementIds"];
|
||||
}
|
||||
>;
|
||||
shouldCacheIgnoreZoom: boolean;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user