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

View File

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