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