Browse Source

Merge pull request #93008 from aaronp64/container_queue_sort

Fix `Container::pending_sort` tracking
Rémi Verschelde 1 năm trước cách đây
mục cha
commit
a0bbd398ee
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;
 	}