chore: latest PR feedback (rename variable, insert needed spaces)
All checks were successful
/ test (pull_request) Successful in 3m47s
All checks were successful
/ test (pull_request) Successful in 3m47s
This commit is contained in:
parent
e71b0944f6
commit
06cb0d29a7
2 changed files with 3 additions and 3 deletions
|
|
@ -587,7 +587,7 @@ impl ProblemPoser for PointCoordinateRegulator {
|
|||
problem.frozen.push(
|
||||
Point::NORM_COMPONENT,
|
||||
col,
|
||||
point(x,y,z)[Point::NORM_COMPONENT],
|
||||
point(x, y, z)[Point::NORM_COMPONENT],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,9 +63,9 @@ fn RegulatorInput(regulator: Rc<dyn Regulator>) -> View {
|
|||
placeholder = measurement.with(|result| result.to_string()),
|
||||
bind:value = value,
|
||||
on:change = move |_| {
|
||||
let val = SpecifiedValue::try_from(value.get_clone_untracked());
|
||||
let sv = SpecifiedValue::try_from(value.get_clone_untracked());
|
||||
valid.set(
|
||||
match val {
|
||||
match sv {
|
||||
Ok(set_pt) => {
|
||||
set_point.set(set_pt);
|
||||
true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue