Remove obsolete Bold field from widgets

This commit is contained in:
Paul Chote
2011-05-22 13:30:52 +12:00
parent 8eb4e663d2
commit 35673a058a
13 changed files with 112 additions and 138 deletions

View File

@@ -63,9 +63,6 @@ namespace OpenRA.Widgets
public override void DrawInner()
{
if (Font == "Regular" && Bold)
Font = "Bold";
var font = Game.Renderer.Fonts[Font];
var rect = RenderBounds;
var check = new Rectangle(rect.Location, new Size(Bounds.Height, Bounds.Height));