forked from StudioInfinity/dyna3
App: add display canvas
This commit is contained in:
parent
0c2869d3f3
commit
49170671b4
5 changed files with 46 additions and 3 deletions
10
app-proto/sketch-outline/src/display.rs
Normal file
10
app-proto/sketch-outline/src/display.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
use sycamore::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn Display() -> View {
|
||||
view! {
|
||||
/* [TO DO] switch back to integer-valued parameters when that becomes
|
||||
possible again */
|
||||
canvas(width="750", height="750", tabindex="0")
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue