mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #93386 from anniryynanen/grid-min-size
Fix GridContainer minimum size when there's a hidden parent
This commit is contained in:
commit
9de785639d
@ -279,7 +279,7 @@ Size2 GridContainer::get_minimum_size() const {
|
||||
|
||||
int valid_controls_index = 0;
|
||||
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…
Reference in New Issue
Block a user