Fix case spelling

This commit is contained in:
Chandler Cox
2024-05-13 16:38:10 -05:00
parent b66d50ae1b
commit 6962ed6730
2 changed files with 6 additions and 6 deletions

View File

@@ -18,12 +18,12 @@ namespace FlaxEngine.GUI
/// <summary> /// <summary>
/// Uppercase. /// Uppercase.
/// </summary> /// </summary>
UpperCase, Uppercase,
/// <summary> /// <summary>
/// Lowercase /// Lowercase
/// </summary> /// </summary>
LowerCase Lowercase
} }
/// <summary> /// <summary>
@@ -301,10 +301,10 @@ namespace FlaxEngine.GUI
switch (CaseOption) switch (CaseOption)
{ {
case TextCaseOptions.None: break; case TextCaseOptions.None: break;
case TextCaseOptions.UpperCase: case TextCaseOptions.Uppercase:
text = text.ToString().ToUpper(); text = text.ToString().ToUpper();
break; break;
case TextCaseOptions.LowerCase: case TextCaseOptions.Lowercase:
text = text.ToString().ToLower(); text = text.ToString().ToLower();
break; break;
default: break; default: break;

View File

@@ -143,10 +143,10 @@ namespace FlaxEngine.GUI
switch (CaseOption) switch (CaseOption)
{ {
case TextCaseOptions.None: break; case TextCaseOptions.None: break;
case TextCaseOptions.UpperCase: case TextCaseOptions.Uppercase:
text = text.ToUpper(); text = text.ToUpper();
break; break;
case TextCaseOptions.LowerCase: case TextCaseOptions.Lowercase:
text = text.ToLower(); text = text.ToLower();
break; break;
default: break; default: break;