diff --git a/Source/Editor/CustomEditors/Editors/DictionaryEditor.cs b/Source/Editor/CustomEditors/Editors/DictionaryEditor.cs index 42f90db6a..0bf477834 100644 --- a/Source/Editor/CustomEditors/Editors/DictionaryEditor.cs +++ b/Source/Editor/CustomEditors/Editors/DictionaryEditor.cs @@ -156,7 +156,6 @@ namespace FlaxEditor.CustomEditors.Editors private bool _readOnly; private bool _notNullItems; private bool _canEditKeys; - private bool _canEditValues; private bool _keyEdited; private CollectionAttribute.DisplayType _displayType; diff --git a/Source/Engine/UI/GUI/Common/Label.cs b/Source/Engine/UI/GUI/Common/Label.cs index 9aae957c0..bfdad73b0 100644 --- a/Source/Engine/UI/GUI/Common/Label.cs +++ b/Source/Engine/UI/GUI/Common/Label.cs @@ -299,14 +299,12 @@ namespace FlaxEngine.GUI LocalizedString text = _text; switch (CaseOption) { - case TextCaseOptions.None: break; case TextCaseOptions.Uppercase: text = text.ToString().ToUpper(); break; case TextCaseOptions.Lowercase: text = text.ToString().ToLower(); break; - default: break; } return text; } diff --git a/Source/Engine/UI/GUI/Common/TextBox.cs b/Source/Engine/UI/GUI/Common/TextBox.cs index e5e43d130..56838b9a4 100644 --- a/Source/Engine/UI/GUI/Common/TextBox.cs +++ b/Source/Engine/UI/GUI/Common/TextBox.cs @@ -162,14 +162,12 @@ namespace FlaxEngine.GUI string text = _text; switch (CaseOption) { - case TextCaseOptions.None: break; case TextCaseOptions.Uppercase: text = text.ToUpper(); break; case TextCaseOptions.Lowercase: text = text.ToLower(); break; - default: break; } return text; }