You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix GridContainer not ignoring toplevel children
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user