fix: 保存车行道左右边界编辑状态
This commit is contained in:
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 (
|
||||
|
||||
Reference in new issue
Block a user