Fix prop renders
* Incorporate prop scaling * Props now render to a canvas
This commit is contained in:
parent
af89394df1
commit
a2841c413d
21 changed files with 942 additions and 353 deletions
|
|
@ -95,6 +95,9 @@ fn PropDetailView(prop: PropDetail) -> impl IntoView {
|
|||
None => "Not set".to_string(),
|
||||
}}
|
||||
</DetailItem>
|
||||
<DetailItem label="Default Scale">
|
||||
{format!("{}%", (prop.default_scale * 100.0) as i32)}
|
||||
</DetailItem>
|
||||
<DetailItem label="Status">
|
||||
{if prop.is_active {
|
||||
view! { <span class="status-badge status-active">"Active"</span> }.into_any()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue