This commit is contained in:
Chandler Cox
2024-05-13 17:42:37 -05:00
parent e028d263f1
commit 17de6388ca
2 changed files with 4 additions and 4 deletions

View File

@@ -282,7 +282,7 @@ namespace FlaxEngine.GUI
Render2D.PopClip(); Render2D.PopClip();
} }
Font GetFont() private Font GetFont()
{ {
Font font; Font font;
if (Bold) if (Bold)
@@ -294,7 +294,7 @@ namespace FlaxEngine.GUI
return font; return font;
} }
LocalizedString ConvertedText() private LocalizedString ConvertedText()
{ {
LocalizedString text = _text; LocalizedString text = _text;
switch (CaseOption) switch (CaseOption)

View File

@@ -125,7 +125,7 @@ namespace FlaxEngine.GUI
return font.MeasureText(ConvertedText(), ref _layout); return font.MeasureText(ConvertedText(), ref _layout);
} }
Font GetFont() private Font GetFont()
{ {
Font font; Font font;
if (Bold) if (Bold)
@@ -137,7 +137,7 @@ namespace FlaxEngine.GUI
return font; return font;
} }
string ConvertedText() private string ConvertedText()
{ {
string text = _text; string text = _text;
switch (CaseOption) switch (CaseOption)