node-based graph editor
git clone https://git.lucas.co/cce-graph.git
fix: implement ui_context_mut on GraphApp to allow syncing key modifier state
src/main.rs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main.rs b/src/main.rs
index 88cc9cb..a3f0ca7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -380,6 +380,10 @@ impl Application for GraphApp {
Some(&self.ui_context)
}
+ fn ui_context_mut(&mut self) -> Option<&mut cce_ui::context::UiContext> {
+ Some(&mut self.ui_context)
+ }
+
fn new(_qh: &QueueHandle<EngineState<Self>>, _sender: calloop::channel::Sender<Self::Message>) -> Self {
let mut graph = Graph::new();