1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

Updates containers minimum size when some constants are modified

This commit is contained in:
groud
2019-01-24 22:31:33 +01:00
parent 7fa41f17a6
commit a1f955a1d3
6 changed files with 124 additions and 98 deletions

View File

@@ -193,6 +193,10 @@ void SplitContainer::_notification(int p_what) {
draw_texture(tex, Point2i(middle_sep + (sep - tex->get_width()) / 2, (size.y - tex->get_height()) / 2));
}
} break;
case NOTIFICATION_THEME_CHANGED: {
minimum_size_changed();
} break;
}
}