Improve editor manipulation flows
This commit is contained in:
@@ -433,8 +433,8 @@ export const stairDefinition: NodeDefinition<typeof StairNode> = {
|
||||
// A stair has no centred box footprint: straight = a cumulative
|
||||
// `stair-segment` chain, curved / spiral = an annular sector. Hand the
|
||||
// alignment bridge the resolved plan `aabb` directly (not a `box`) — the
|
||||
// stair moves by its origin via `affordanceTools.move`, so it only ever
|
||||
// contributes static candidate anchors, never the relocatable box path.
|
||||
// moving-anchor helper can relocate the same shape when a stair is being
|
||||
// placed or dragged.
|
||||
alignmentFootprint: (node, nodes) => {
|
||||
const aabb = stairFootprintAABB(node as StairNodeType, nodes)
|
||||
return aabb ? { shape: 'aabb', ...aabb } : null
|
||||
|
||||
Reference in New Issue
Block a user