Преглед на файлове

Merge pull request #93008 from aaronp64/container_queue_sort

Fix `Container::pending_sort` tracking
Rémi Verschelde преди 1 година
родител
ревизия
a0bbd398ee
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      scene/gui/container.cpp

+ 1 - 0
scene/gui/container.cpp

@@ -80,6 +80,7 @@ void Container::remove_child_notify(Node *p_child) {
 
 void Container::_sort_children() {
 	if (!is_inside_tree()) {
+		pending_sort = false;
 		return;
 	}