Chrome.rootWidget -> Widget.RootWidget

This commit is contained in:
alzeih
2010-07-21 16:14:31 +12:00
parent 795da1b088
commit 647252b0cb
17 changed files with 38 additions and 36 deletions

View File

@@ -16,7 +16,7 @@ namespace OpenRA.Widgets.Delegates
{
public PerfDebugDelegate()
{
var r = Chrome.rootWidget;
var r = Widget.RootWidget;
var perfRoot = r.GetWidget("PERF_BG");
perfRoot.IsVisible = () => perfRoot.Visible && Game.Settings.PerfDebug;