Skip to content

Commit 9108c62

Browse files
committed
Merge pull request #97291 from KoBeWi/visible_in_tree_was_a_billion_dollar_mistake
Fix ScrollContainer configuration warnings
2 parents 14eee2b + 59c6658 commit 9108c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/scroll_container.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ PackedStringArray ScrollContainer::get_configuration_warnings() const {
547547
int found = 0;
548548

549549
for (int i = 0; i < get_child_count(); i++) {
550-
Control *c = as_sortable_control(get_child(i));
550+
Control *c = as_sortable_control(get_child(i), SortableVisbilityMode::VISIBLE);
551551
if (!c) {
552552
continue;
553553
}

0 commit comments

Comments
 (0)