diff --git a/Source/Editor/Content/GUI/ContentView.cs b/Source/Editor/Content/GUI/ContentView.cs index 23d81421d..2c50455ae 100644 --- a/Source/Editor/Content/GUI/ContentView.cs +++ b/Source/Editor/Content/GUI/ContentView.cs @@ -32,14 +32,14 @@ namespace FlaxEditor.Content.GUI /// public enum SortType { - /// + /// /// The classic alphabetic sort method (A-Z). /// AlphabeticOrder, - - /// + + /// /// The reverse alphabetic sort method (Z-A). - /// + /// AlphabeticReverse } @@ -272,18 +272,14 @@ namespace FlaxEditor.Content.GUI if (sortType == SortType.AlphabeticReverse) { if (control.CompareTo(control1) > 0) - { - return -1; - } + return -1; if (control.CompareTo(control1) == 0) - { - return 0; - } + return 0; return 1; } return control.CompareTo(control1); })); - + // Unload and perform UI layout IsLayoutLocked = wasLayoutLocked; PerformLayout();