Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GridContainer minimum size when there's a hidden parent
When calculating minimum size, GridContainer only looks at children that are returned from `as_sortable_control()`. That defaults to only showing children visible in the tree, so if the grid has a hidden parent the minimum size becomes (0, 0). After this change only the child itself needs to be visible, making `GridContainer::get_minimum_size()` behave the same way as other controls. Fixes godotengine#91722.
- Loading branch information