sync remote selection (#1207)
* sync remote selection * skip deleted elements * remove unnecessary condition & change naming
This commit is contained in:
@ -50,6 +50,7 @@ export function exportToCanvas(
|
||||
scrollY: normalizeScroll(-minY + exportPadding),
|
||||
zoom: 1,
|
||||
remotePointerViewportCoords: {},
|
||||
remoteSelectedElementIds: {},
|
||||
shouldCacheIgnoreZoom: false,
|
||||
},
|
||||
{
|
||||
|
@ -9,6 +9,7 @@ export type SceneState = {
|
||||
zoom: number;
|
||||
shouldCacheIgnoreZoom: boolean;
|
||||
remotePointerViewportCoords: { [id: string]: { x: number; y: number } };
|
||||
remoteSelectedElementIds: { [elementId: string]: string[] };
|
||||
};
|
||||
|
||||
export type SceneScroll = {
|
||||
|
Reference in New Issue
Block a user