From 17de6388ca988d1236ce0d4216b71c5caa21cc3d Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Mon, 13 May 2024 17:42:37 -0500 Subject: [PATCH] Code fix --- Source/Engine/UI/GUI/Common/Label.cs | 4 ++-- Source/Engine/UI/GUI/Common/TextBox.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Engine/UI/GUI/Common/Label.cs b/Source/Engine/UI/GUI/Common/Label.cs index 5ef323f23..9aae957c0 100644 --- a/Source/Engine/UI/GUI/Common/Label.cs +++ b/Source/Engine/UI/GUI/Common/Label.cs @@ -282,7 +282,7 @@ namespace FlaxEngine.GUI Render2D.PopClip(); } - Font GetFont() + private Font GetFont() { Font font; if (Bold) @@ -294,7 +294,7 @@ namespace FlaxEngine.GUI return font; } - LocalizedString ConvertedText() + private LocalizedString ConvertedText() { LocalizedString text = _text; switch (CaseOption) diff --git a/Source/Engine/UI/GUI/Common/TextBox.cs b/Source/Engine/UI/GUI/Common/TextBox.cs index 488fa594c..0343e033a 100644 --- a/Source/Engine/UI/GUI/Common/TextBox.cs +++ b/Source/Engine/UI/GUI/Common/TextBox.cs @@ -125,7 +125,7 @@ namespace FlaxEngine.GUI return font.MeasureText(ConvertedText(), ref _layout); } - Font GetFont() + private Font GetFont() { Font font; if (Bold) @@ -137,7 +137,7 @@ namespace FlaxEngine.GUI return font; } - string ConvertedText() + private string ConvertedText() { string text = _text; switch (CaseOption)