From 9487a9439c2e94b2a0439cd3a18e6030c436a41a Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Wed, 22 May 2024 19:27:35 -0600 Subject: [PATCH] wip changes --- src/ui/mod.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ui/mod.rs b/src/ui/mod.rs index e1c5d2f..0df8e77 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -233,10 +233,14 @@ pub fn build_ui(app: &Application, config: Arc>, runtime: Hand glib::ControlFlow::Continue }), ); + + println!("We are here!"); glib::spawn_future_local( - glib::clone!(@weak axis_label, @weak conn_status_label, @weak control_panel, @strong gui_recv, @weak drawable => async move { - while let Ok(d) = gui_recv.recv().await { + glib::clone!(@weak axis_label, @weak conn_status_label, @weak control_panel, @weak drawable => async move { + println!("We are also here!"); + info!("Hello world!"); + while let Ok(d) = gui_recv.recv().await { drawable.queue_draw(); match d { GuiUpdate::MoveEvent(msg) => { @@ -274,6 +278,7 @@ pub fn build_ui(app: &Application, config: Arc>, runtime: Hand } } } + info!("Closing update loop"); }), );