diff --git a/scene/gui/container.cpp b/scene/gui/container.cpp index 83a4f34282..feaf516f42 100644 --- a/scene/gui/container.cpp +++ b/scene/gui/container.cpp @@ -151,18 +151,6 @@ void Container::_notification(int p_what) { queue_sort(); } } break; - case NOTIFICATION_SORT_CHILDREN: { - - Size2 s = get_size(); - - for (int i=0; icast_to(); - if (!c || !c->is_visible() || c->is_set_as_toplevel()) - continue; - - fit_child_in_rect(c,Rect2(0, 0, s.width, s.height)); - } - } } }