git.lucas.co / cce-data-editor
structured data editor
git clone https://git.lucas.co/cce-data-editor.git

commitcae7a53b78626b57603b5dcdca748211c4ba420c
parentf616b68413
authorLucas Galante <[email protected]>
date2026-06-29 19:21
Tick selected_color_editor inside tick loop so that process updates are captured

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

diff --git a/src/main.rs b/src/main.rs
index 05648c6..8abfe22 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -954,6 +954,11 @@ impl Application for DataEditorApp {
     }
 
     fn tick(&mut self, _dt: f32, needs_rebuild: &mut bool) {
+        if self.selected_color_editor.tick(_dt, &mut self.ui_context) {
+            *needs_rebuild = true;
+            self.needs_rebuild = true;
+        }
+
         if self.selected_value_editor.take_change() {
             let mut exit = false;
             self.update(AppMessage::ApplyValue, needs_rebuild, &mut exit);