- Fixed massive UI freeze because of perform layout oversight

This commit is contained in:
Nils Hausfeld
2023-09-24 20:31:22 +02:00
parent 8d39d51f90
commit 50ebd5cb87

View File

@@ -506,15 +506,14 @@ namespace FlaxEditor.Surface.ContextMenu
{
_groups[i].ResetView();
}
UnlockChildrenRecursive();
SortGroups();
PerformLayout();
for (int i = 0; i < _groups.Count; i++)
{
_groups[i].EvaluateVisibilityWithBox(_selectedBox);
}
UnlockChildrenRecursive();
SortGroups();
PerformLayout();
Profiler.EndEvent();
}