Allow OsuScreens to decide whether ruleset switching should be allowed.

Tidies up ToolbarModeSelector a lot by using DI.
This commit is contained in:
Dean Herbert
2017-04-21 16:03:59 +09:00
parent 4a3ae6937d
commit 5aa90df819
7 changed files with 41 additions and 28 deletions

View File

@ -31,6 +31,8 @@ namespace osu.Game.Screens.Ranking
private ResultModeTabControl modeChangeButtons;
internal override bool AllowRulesetChange => false;
private Container currentPage;
private static readonly Vector2 background_blur = new Vector2(20);