forked from StudioInfinity/dyna3
Write out representation
in Element
structure
This commit is contained in:
parent
933f05661d
commit
da008fd090
4 changed files with 22 additions and 20 deletions
|
@ -72,7 +72,7 @@ pub fn Outline() -> View {
|
|||
}
|
||||
});
|
||||
let label = elt.label.clone();
|
||||
let rep_components = elt.rep.iter().map(|u| {
|
||||
let rep_components = elt.representation.iter().map(|u| {
|
||||
let u_coord = u.to_string().replace("-", "\u{2212}");
|
||||
View::from(div().children(u_coord))
|
||||
}).collect::<Vec<_>>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue