From 6962ed6730dbd1c5fd0bbf03f75064d89b9c37d4 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Mon, 13 May 2024 16:38:10 -0500 Subject: [PATCH] Fix case spelling --- Source/Engine/UI/GUI/Common/Label.cs | 8 ++++---- Source/Engine/UI/GUI/Common/TextBox.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Engine/UI/GUI/Common/Label.cs b/Source/Engine/UI/GUI/Common/Label.cs index f5c383765..cb357773f 100644 --- a/Source/Engine/UI/GUI/Common/Label.cs +++ b/Source/Engine/UI/GUI/Common/Label.cs @@ -18,12 +18,12 @@ namespace FlaxEngine.GUI /// /// Uppercase. /// - UpperCase, + Uppercase, /// /// Lowercase /// - LowerCase + Lowercase } /// @@ -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; diff --git a/Source/Engine/UI/GUI/Common/TextBox.cs b/Source/Engine/UI/GUI/Common/TextBox.cs index 035de2267..488fa594c 100644 --- a/Source/Engine/UI/GUI/Common/TextBox.cs +++ b/Source/Engine/UI/GUI/Common/TextBox.cs @@ -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;