Use the font dictionary everywhere
This commit is contained in:
@@ -190,7 +190,7 @@ namespace OpenRA.Mods.Cnc.Widgets
|
||||
{
|
||||
if (text == null) text = "";
|
||||
|
||||
var font = (Bold) ? Game.Renderer.BoldFont : Game.Renderer.RegularFont;
|
||||
var font = (Bold) ? Game.Renderer.Fonts["Bold"] : Game.Renderer.Fonts["Regular"];
|
||||
var pos = RenderOrigin;
|
||||
|
||||
if (CursorPosition > text.Length)
|
||||
|
||||
Reference in New Issue
Block a user