1
0
Fork 0

Merge pull request #110278 from KoBeWi/controledraw

Redraw shape controls when ColorPicker theme changes
This commit is contained in:
Thaddeus Crews 2025-10-01 13:12:33 -05:00
commit 7eaf1ee62d
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 3 additions and 0 deletions

View File

@ -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++;