Fix regressions caused by overlay class.

This commit is contained in:
Dean Herbert
2016-10-14 12:50:03 +09:00
parent b425d14ea1
commit 8c7ff58310
2 changed files with 14 additions and 9 deletions

View File

@ -97,7 +97,6 @@ namespace osu.Game
OnHome = delegate { MainMenu?.MakeCurrent(); },
OnSettings = Options.ToggleVisibility,
OnPlayModeChange = delegate (PlayMode m) { PlayMode.Value = m; },
Alpha = 0.001f,
},
Chat = new ChatConsole(API),
new VolumeControl
@ -112,12 +111,6 @@ namespace osu.Game
}
});
Toolbar.State = Visibility.Hidden;
Toolbar.Flush();
Chat.State = Visibility.Hidden;
Chat.Flush();
intro.ModePushed += modeAdded;
intro.Exited += modeRemoved;