Developer Mode (pchote: amended)

This commit is contained in:
alzeih
2010-06-26 00:04:36 +12:00
parent f39f7fc23e
commit f92b59e6db
12 changed files with 262 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ namespace OpenRA.Widgets.Delegates
Chrome.rootWidget.GetWidget("INGAME_DIPLOMACY_BUTTON").OnMouseUp = mi =>
{
diplomacyBG.Visible = !diplomacyBG.Visible;
if (diplomacyBG.Visible)
if (diplomacyBG.IsVisible())
LayoutDialog(diplomacyBG);
return true;
};