mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix container minimum size with hidden parent
This commit is contained in:
parent
ec02d406ca
commit
a9c91f4eef
5 changed files with 9 additions and 8 deletions
|
|
@ -250,7 +250,7 @@ Size2 FlowContainer::get_minimum_size() const {
|
|||
Size2i minimum;
|
||||
|
||||
for (int i = 0; i < get_child_count(); i++) {
|
||||
Control *c = as_sortable_control(get_child(i));
|
||||
Control *c = as_sortable_control(get_child(i), SortableVisbilityMode::VISIBLE);
|
||||
if (!c) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue