Use the font dictionary everywhere
This commit is contained in:
@@ -54,7 +54,7 @@ namespace OpenRA.Widgets
|
||||
u + new float2(12, 10 * k + 4),
|
||||
item.c, item.c);
|
||||
|
||||
Game.Renderer.TinyFont.DrawText(item.Name, new float2(rect.Left, rect.Top) + new float2(18, 10 * k - 3), Color.White);
|
||||
Game.Renderer.Fonts["Tiny"].DrawText(item.Name, new float2(rect.Left, rect.Top) + new float2(18, 10 * k - 3), Color.White);
|
||||
Game.Renderer.Flush();
|
||||
++k;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user