diff --git a/src/native/color_picker.rs b/src/native/color_picker.rs index a78cb66c..fdc66a5d 100644 --- a/src/native/color_picker.rs +++ b/src/native/color_picker.rs @@ -157,6 +157,12 @@ where } fn diff(&self, tree: &mut Tree) { + let color_picker_state = tree.state.downcast_mut::(); + + if color_picker_state.overlay_state.color != self.color { + color_picker_state.overlay_state.color = self.color; + } + tree.diff_children(&[&self.underlay, &self.overlay_state]); }