From 502f49d7f9d94e5e027bbff3f4b9cc7b1d4c578a Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 5 Sep 2025 18:04:26 +0200 Subject: [PATCH] Redraw shape controls when ColorPicker theme changes --- scene/gui/color_picker.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index 5a3d5e859d1..42267b0bec8 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -129,6 +129,9 @@ void ColorPicker::_notification(int p_what) { for (ColorPickerShape *shape : shapes) { if (shape->is_initialized) { shape->update_theme(); + for (Control *c : shape->controls) { + c->queue_redraw(); + } } shape_popup->set_item_icon(i, shape->get_icon()); i++;