Update selection tracing to support multiple selected points (pointIds)
This commit is contained in:
@@ -29,6 +29,7 @@ interface UpdateLoopSelection {
|
|||||||
vertexId?: string;
|
vertexId?: string;
|
||||||
pathId?: string;
|
pathId?: string;
|
||||||
pointId?: string;
|
pointId?: string;
|
||||||
|
pointIds?: readonly string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const TRACE_WINDOW_MS = 1000;
|
const TRACE_WINDOW_MS = 1000;
|
||||||
@@ -180,6 +181,12 @@ export function summarizeUpdateLoopSelection(
|
|||||||
pathId: selection.pathId ?? null,
|
pathId: selection.pathId ?? null,
|
||||||
pointId: selection.pointId ?? null
|
pointId: selection.pointId ?? null
|
||||||
};
|
};
|
||||||
|
case "pathPoints":
|
||||||
|
return {
|
||||||
|
kind: selection.kind,
|
||||||
|
pathId: selection.pathId ?? null,
|
||||||
|
pointIds: summarizeStringList(selection.pointIds ?? [])
|
||||||
|
};
|
||||||
default:
|
default:
|
||||||
return {
|
return {
|
||||||
kind: selection.kind,
|
kind: selection.kind,
|
||||||
|
|||||||
Reference in New Issue
Block a user