fix(extrude): commit typed height from dynamic input on Enter

ExtrudeCommand never opted into dyn_commit_as_text(), so a typed
Enter fell through to generic point-resolution instead of
on_text_input, producing a near-zero height that silently failed
to commit. Mirror PresspullCommand's pattern, gated to the Height
step.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
Steve KingandClaude Sonnet 5 committed 2026-09-16 20:06:00 -07:00
1 parent 144abc96fe
commit e9e32c38e1
1 file changed
+3
+3
View File
@@ -472,6 +472,9 @@ impl CadCommand for ExtrudeCommand {
fn dyn_live_value(&self, cursor: DVec3) -> Option<f64> {
Some((cursor - self.anchor).dot(self.profile_direction?))
}
fn dyn_commit_as_text(&self) -> bool {
self.step == ExtrudeStep::Height
}
fn is_selection_gathering(&self) -> bool {
self.step == ExtrudeStep::Pick
}