Add visibilty mode to as_sortable_control()
This commit is contained in:
parent
5f1184e93f
commit
02e1e6d1ec
9 changed files with 35 additions and 23 deletions
|
|
@ -42,7 +42,7 @@ Size2 ScrollContainer::get_minimum_size() const {
|
|||
largest_child_min_size = Size2();
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue