Code fix
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user