Unify the perf info visibility

This commit is contained in:
Paul Chote
2010-04-11 17:13:29 +12:00
parent a75d173371
commit a89f576fb9
9 changed files with 17 additions and 45 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Widgets
public readonly string Background = "dialog";
public override void Draw(World world)
{
if (!Visible)
if (!IsVisible())
{
base.Draw(world);
return;