fix: 保存车行道左右边界编辑状态

This commit is contained in:
que01 committed 2026-09-10 15:33:52 +08:00
1 parent f1a5b284a7
commit 44fa82299b
3 files changed
+59 -9

No files matched your search

@@ -303,9 +303,13 @@ export function ParameterPanel({
const groupedHandles = new Map<string, EditHandle[]>();
for (const handle of handles) {
const list = groupedHandles.get(handle.kind) ?? [];
const group =
handle.kind === 'cluster-carriageway-edge-offset' && handle.anchor.type === 'cluster-carriageway'
? `${handle.kind}:${handle.anchor.side}`
: handle.kind;
const list = groupedHandles.get(group) ?? [];
list.push(handle);
groupedHandles.set(handle.kind, list);
groupedHandles.set(group, list);
}
return (