remove unused Action from DrawPanel

This commit is contained in:
Chris Forbes
2010-04-15 19:10:22 +12:00
parent f61c87f0d2
commit 8a9fdf2c54
5 changed files with 6 additions and 10 deletions

View File

@@ -36,10 +36,8 @@ namespace OpenRA.Widgets
return;
}
WidgetUtils.DrawPanel("dialog3",
new Rectangle(Bounds.Location,
new Size(Bounds.Height, Bounds.Height)),
() => { });
WidgetUtils.DrawPanel("dialog3", new Rectangle(Bounds.Location,
new Size(Bounds.Height, Bounds.Height)));
Game.chrome.renderer.BoldFont.DrawText(Text,
new float2(Bounds.Left + Bounds.Height * 2, Bounds.Top), Color.White);