git.lucas.co / cce-system-interface
system settings
git clone https://git.lucas.co/cce-system-interface.git

commitb17ae22d50e5e2aa63dfd038d35b156d5493c68b
parent86162432db
authorLucas Galante <[email protected]>
date2026-06-28 20:03
Propagate widget changes in tick loop to process async updates immediately

 src/main.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main.rs b/src/main.rs
index 2a48708..39fd9d5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -368,6 +368,11 @@ impl cce_ui::engine::Application for SystemInterface {
         if self.tick_internal(dt) {
             *needs_rebuild = true;
         }
+        let mut actions = Vec::new();
+        self.propagate_widget_changes(&mut actions);
+        for action in actions {
+            self.handle_action(&action);
+        }
         if self.needs_rebuild || self.ui_context.is_dirty() {
             *needs_rebuild = true;
             self.needs_rebuild = true;