Merge pull request #60221 from YeldhamDev/grid_toplevel_fix
Fix `GridContainer` not ignoring toplevel children
This commit is contained in:
commit
3b57c2ce6b
|
@ -50,6 +50,9 @@ void GridContainer::_notification(int p_what) {
|
|||
if (!c || !c->is_visible_in_tree()) {
|
||||
continue;
|
||||
}
|
||||
if (c->is_set_as_top_level()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
int row = valid_controls_index / columns;
|
||||
int col = valid_controls_index % columns;
|
||||
|
|
Loading…
Reference in New Issue