diff --git a/backend/src/main.rs b/backend/src/main.rs
index 7043f81..fe6bfd7 100644
--- a/backend/src/main.rs
+++ b/backend/src/main.rs
@@ -1,15 +1,14 @@
use moon::*;
async fn frontend() -> Frontend {
- Frontend::new().title("FastWave").append_to_head(concat!(
- ""
- )).append_to_head(concat!(
- ""
- ))
+ Frontend::new()
+ .title("FastWave")
+ .append_to_head(concat!(""))
+ .append_to_head(concat!(
+ ""
+ ))
}
async fn up_msg_handler(_: UpMsgRequest<()>) {}
diff --git a/frontend/src/controls_panel.rs b/frontend/src/controls_panel.rs
index 69fff23..ad3e215 100644
--- a/frontend/src/controls_panel.rs
+++ b/frontend/src/controls_panel.rs
@@ -1,4 +1,4 @@
-use crate::{platform, Layout};
+use crate::{platform, script_bridge, Layout};
use std::cell::Cell;
use std::mem;
use std::ops::Not;
@@ -108,6 +108,7 @@ impl ControlsPanel {
.item(self.load_button())
.item(self.layout_switcher()),
)
+ .item(self.command_panel())
.item_signal(
self.hierarchy
.signal_cloned()
@@ -256,6 +257,65 @@ impl ControlsPanel {
})
}
+ fn command_panel(&self) -> impl Element {
+ let command_result: Mutable