Remove whitespaces
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user