You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #110278 from KoBeWi/controledraw
Redraw shape controls when ColorPicker theme changes
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user