From 59c66585d5a51fc0b9ef79d72a461888cff5831a Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 21 Sep 2024 19:53:02 +0200 Subject: [PATCH] Fix ScrollContainer configuration warnings --- scene/gui/scroll_container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/scroll_container.cpp b/scene/gui/scroll_container.cpp index 2211bd76fc9..1ac0e8b59fa 100644 --- a/scene/gui/scroll_container.cpp +++ b/scene/gui/scroll_container.cpp @@ -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; }