Merge branch 'Tryibion-sort-search-toolbox'
This commit is contained in:
@@ -236,6 +236,7 @@ namespace FlaxEditor.Windows
|
|||||||
group.AddChild(string.IsNullOrEmpty(attribute.Name) ? CreateActorItem(Utilities.Utils.GetPropertyNameUI(actorType.Name), actorType) : CreateActorItem(attribute.Name, actorType));
|
group.AddChild(string.IsNullOrEmpty(attribute.Name) ? CreateActorItem(Utilities.Utils.GetPropertyNameUI(actorType.Name), actorType) : CreateActorItem(attribute.Name, actorType));
|
||||||
group.SortChildren();
|
group.SortChildren();
|
||||||
}
|
}
|
||||||
|
_groupSearch.SortChildren();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnSearchBoxTextChanged()
|
private void OnSearchBoxTextChanged()
|
||||||
@@ -283,6 +284,9 @@ namespace FlaxEditor.Windows
|
|||||||
}
|
}
|
||||||
item.SetHighlights(highlights);
|
item.SetHighlights(highlights);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (string.IsNullOrEmpty(filterText))
|
||||||
|
_groupSearch.SortChildren();
|
||||||
|
|
||||||
_groupSearch.UnlockChildrenRecursive();
|
_groupSearch.UnlockChildrenRecursive();
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
|
|||||||
Reference in New Issue
Block a user