fix(junction): make complex corner radius responsive

This commit is contained in:
que01 committed 2026-09-08 17:06:05 +08:00
1 parent 36a8291c05
commit 53a2cb3450
8 files changed
+103 -11

No files matched your search

@@ -38,6 +38,7 @@ interface Props {
onSettleGroup?: (handles: EditHandle[], value: number) => void;
onAbandon?: () => void;
onReset?: (handle: EditHandle) => void;
previewPending?: boolean;
roads?: Road[];
junctionCoordinate?: Coordinate;
selectedFacility?: ElementSelection | null;
@@ -77,6 +78,7 @@ export function JunctionWorkspace({
onSettleGroup,
onAbandon,
onReset,
previewPending = false,
roads = [],
junctionCoordinate = descriptor.coordinate,
selectedFacility,
@@ -472,6 +474,7 @@ export function JunctionWorkspace({
handles={handles}
hasSelection
grouped
previewPending={previewPending}
onDraft={onDraft ?? (() => undefined)}
onDraftGroup={onDraftGroup}
onSettle={onSettle ?? (() => undefined)}