Add visibilty mode to as_sortable_control()
This commit is contained in:
@ -60,8 +60,8 @@ void GraphElement::_resort() {
|
||||
Size2 GraphElement::get_minimum_size() const {
|
||||
Size2 minsize;
|
||||
for (int i = 0; i < get_child_count(); i++) {
|
||||
Control *child = Object::cast_to<Control>(get_child(i));
|
||||
if (!child || child->is_set_as_top_level()) {
|
||||
Control *child = as_sortable_control(get_child(i), SortableVisbilityMode::IGNORE);
|
||||
if (!child) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user