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

@@ -70,7 +70,7 @@ namespace OpenRA.Widgets
}
var stateOffset = (Depressed) ? new int2(VisualHeight, VisualHeight) : new int2(0, 0);
WidgetUtils.DrawPanel(Depressed ? "dialog3" : "dialog2", Bounds, null);
WidgetUtils.DrawPanel(Depressed ? "dialog3" : "dialog2", Bounds);
Game.chrome.renderer.BoldFont.DrawText(Text,
new int2(Bounds.X + Bounds.Width / 2, Bounds.Y + Bounds.Height / 2)