forked from 1b-agent/opencadstudio-upstream
Equal: show the bar of a Multiple pick at once, like the two-object flow
A fresh reference session shows the "=" bar of every object made equal through Multiple right away; the earlier hidden state was not the rule. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
842ae461fc
commit
959d0011d6
1 file changed
+1
-3
@@ -3437,12 +3437,10 @@ impl OpenCADStudio {
|
|||||||
.scene
|
.scene
|
||||||
.parametric_constraint_set_mut(scope)
|
.parametric_constraint_set_mut(scope)
|
||||||
.add(ConstraintKind::Equal, vec![first, *follower], None);
|
.add(ConstraintKind::Equal, vec![first, *follower], None);
|
||||||
// A Multiple pick leaves its new bar unshown, as the
|
|
||||||
// reference does; the single flow shows it at once.
|
|
||||||
self.tabs[i].scene.note_parametric_constraint_applied(
|
self.tabs[i].scene.note_parametric_constraint_applied(
|
||||||
scope,
|
scope,
|
||||||
id,
|
id,
|
||||||
if multiple { 0 } else { self.constraint_bar_display },
|
self.constraint_bar_display,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
let changes = touched
|
let changes = touched
|
||||||
|
|||||||
Reference in new issue
Block a user