feat: complete carriageway direction interaction

This commit is contained in:
que01 committed 2026-09-11 09:51:02 +08:00
1 parent a5089220b5
commit 067c0e370d
10 files changed
+251 -41

No files matched your search

@@ -332,3 +332,13 @@ A grouped scalar is available only if the individual ranges intersect. Otherwise
show why a common value is unavailable and expand individual controls; never
render a minimum larger than the maximum. Transition length uses the same input,
preview, history, and persistence path as other geometry parameters.
### Rotational direction handles
`cluster-carriageway-direction` keeps `value.current` and persisted
`offsetDegrees` in degrees. Its manifest declares
`interaction: { kind: 'rotation', center, radiusMeters }`. Project pointer input
as the shortest signed azimuth change around `center`, clamp it to the manifest
range, and place the ghost on the declared circle. Never convert linear pointer
metres directly into degrees. The ghost label uses `°`; numeric input continues
through the shared scalar edit session and save path.