mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
sync remote selection (#1207)
* sync remote selection * skip deleted elements * remove unnecessary condition & change naming
This commit is contained in:
parent
adc099ed15
commit
23540eba4c
6 changed files with 94 additions and 26 deletions
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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue