| 136 | } |
| 137 | |
| 138 | void Container::queue_sort() { |
| 139 | if (!is_inside_tree()) { |
| 140 | return; |
| 141 | } |
| 142 | |
| 143 | if (pending_sort) { |
| 144 | return; |
| 145 | } |
| 146 | |
| 147 | callable_mp(this, &Container::_sort_children).call_deferred(); |
| 148 | pending_sort = true; |
| 149 | } |
| 150 | |
| 151 | Control *Container::as_sortable_control(Node *p_node, SortableVisibilityMode p_visibility_mode) const { |
| 152 | Control *c = Object::cast_to<Control>(p_node); |
no test coverage detected