Merge pull request #97291 from KoBeWi/visible_in_tree_was_a_billion_dollar_mistake

Fix ScrollContainer configuration warnings
This commit is contained in:
Rémi Verschelde 2024-10-04 22:43:33 +02:00
commit 9108c6261b
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -547,7 +547,7 @@ PackedStringArray ScrollContainer::get_configuration_warnings() const {
int found = 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;
}