Skip to content

Commit 7eaf1ee

Browse files
committed
Merge pull request godotengine#110278 from KoBeWi/controledraw
Redraw shape controls when ColorPicker theme changes
2 parents 0a5f712 + 502f49d commit 7eaf1ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scene/gui/color_picker.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ void ColorPicker::_notification(int p_what) {
129129
for (ColorPickerShape *shape : shapes) {
130130
if (shape->is_initialized) {
131131
shape->update_theme();
132+
for (Control *c : shape->controls) {
133+
c->queue_redraw();
134+
}
132135
}
133136
shape_popup->set_item_icon(i, shape->get_icon());
134137
i++;

0 commit comments

Comments
 (0)