Remove whitespaces

This commit is contained in:
Wojtek Figat
2021-08-09 21:08:11 +02:00
parent a497ef9d6f
commit 799c4a4f17

View File

@@ -32,14 +32,14 @@ namespace FlaxEditor.Content.GUI
/// </summary> /// </summary>
public enum SortType public enum SortType
{ {
/// <summary> /// <summary>
/// The classic alphabetic sort method (A-Z). /// The classic alphabetic sort method (A-Z).
/// </summary> /// </summary>
AlphabeticOrder, AlphabeticOrder,
/// <summary> /// <summary>
/// The reverse alphabetic sort method (Z-A). /// The reverse alphabetic sort method (Z-A).
/// </summary> /// </summary>
AlphabeticReverse AlphabeticReverse
} }
@@ -272,18 +272,14 @@ namespace FlaxEditor.Content.GUI
if (sortType == SortType.AlphabeticReverse) if (sortType == SortType.AlphabeticReverse)
{ {
if (control.CompareTo(control1) > 0) if (control.CompareTo(control1) > 0)
{ return -1;
return -1;
}
if (control.CompareTo(control1) == 0) if (control.CompareTo(control1) == 0)
{ return 0;
return 0;
}
return 1; return 1;
} }
return control.CompareTo(control1); return control.CompareTo(control1);
})); }));
// Unload and perform UI layout // Unload and perform UI layout
IsLayoutLocked = wasLayoutLocked; IsLayoutLocked = wasLayoutLocked;
PerformLayout(); PerformLayout();