system settings
git clone https://git.lucas.co/cce-system-interface.git
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;