mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Change minimum size when theme changed
Need to call minimum_size_changed on controls whenever the theme is changed. Fixes godotengine#29816
This commit is contained in:
parent
750f8d4926
commit
7a27abae49
@ -645,6 +645,7 @@ void Control::_notification(int p_notification) {
|
||||
} break;
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
|
||||
minimum_size_changed();
|
||||
update();
|
||||
} break;
|
||||
case NOTIFICATION_MODAL_CLOSE: {
|
||||
|
Loading…
Reference in New Issue
Block a user