Set auto sort to true for New asset context menu.

This commit is contained in:
Jean-Baptiste Perrier
2020-12-19 22:41:58 +01:00
committed by Wojtek Figat
parent 34d74477e4
commit 0688e9c6c3

View File

@@ -139,6 +139,7 @@ namespace FlaxEditor.Windows
c = cm.AddChildMenu("New");
c.ContextMenu.Tag = item;
c.ContextMenu.AutoSort = true;
int newItems = 0;
for (int i = 0; i < Editor.ContentDatabase.Proxy.Count; i++)
{