Introduce a regulator trait
This will provide a common interface for Lorentz product regulators, curvature regulators, and hopefully all the other regulators too.
This commit is contained in:
parent
00f60b0e90
commit
126d4c0cce
3 changed files with 75 additions and 35 deletions
|
@ -199,7 +199,7 @@ pub fn AddRemove() -> View {
|
|||
.try_into()
|
||||
.unwrap()
|
||||
);
|
||||
state.assembly.insert_new_regulator(subjects);
|
||||
state.assembly.insert_new_product_regulator(subjects);
|
||||
state.selection.update(|sel| sel.clear());
|
||||
}
|
||||
) { "🔗" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue