فهرست منبع

Marked todo related to child priority sorting.

Lasse Öörni 10 سال پیش
والد
کامیت
e9cf66b992
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Source/Urho3D/UI/UIElement.cpp

+ 1 - 0
Source/Urho3D/UI/UIElement.cpp

@@ -1626,6 +1626,7 @@ void UIElement::SortChildren()
     if (sortChildren_ && sortOrderDirty_)
     {
         // Only sort when there is no layout
+        /// \todo Order is not stable when children have same priorities
         if (layoutMode_ == LM_FREE)
             Sort(children_.Begin(), children_.End(), CompareUIElements);
         sortOrderDirty_ = false;