Add auto cutout toggle to stair panel

This commit is contained in:
sudhir
2026-04-17 22:29:44 +05:30
parent 7b6d295cd8
commit f29946f27b
@@ -246,6 +246,16 @@ export function StairPanel() {
<PanelSection title="Opening">
<div className="space-y-3">
<ToggleControl
checked={(node.slabOpeningMode ?? 'none') === 'destination'}
label="Auto Cutout"
onChange={(checked) =>
handleUpdate({
slabOpeningMode: checked ? 'destination' : 'none',
})
}
/>
<div className="space-y-1.5">
<div className="px-1 text-[11px] uppercase tracking-[0.14em] text-muted-foreground">
From Level