feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -140,15 +140,15 @@ void Container::queue_sort() {
|
|||
pending_sort = true;
|
||||
}
|
||||
|
||||
Control *Container::as_sortable_control(Node *p_node, SortableVisbilityMode p_visibility_mode) const {
|
||||
Control *Container::as_sortable_control(Node *p_node, SortableVisibilityMode p_visibility_mode) const {
|
||||
Control *c = Object::cast_to<Control>(p_node);
|
||||
if (!c || c->is_set_as_top_level()) {
|
||||
return nullptr;
|
||||
}
|
||||
if (p_visibility_mode == SortableVisbilityMode::VISIBLE && !c->is_visible()) {
|
||||
if (p_visibility_mode == SortableVisibilityMode::VISIBLE && !c->is_visible()) {
|
||||
return nullptr;
|
||||
}
|
||||
if (p_visibility_mode == SortableVisbilityMode::VISIBLE_IN_TREE && !c->is_visible_in_tree()) {
|
||||
if (p_visibility_mode == SortableVisibilityMode::VISIBLE_IN_TREE && !c->is_visible_in_tree()) {
|
||||
return nullptr;
|
||||
}
|
||||
return c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue