Fix incorrect initialisation order causing mania key bindings to not work

This commit is contained in:
Dean Herbert 2017-09-06 21:07:53 +09:00
parent cfd25693ce
commit e834e0e958

View File

@ -75,7 +75,11 @@ namespace osu.Game.Rulesets.UI
internal RulesetContainer(Ruleset ruleset) internal RulesetContainer(Ruleset ruleset)
{ {
Ruleset = ruleset; Ruleset = ruleset;
}
[BackgroundDependencyLoader]
private void load()
{
KeyBindingInputManager = CreateInputManager(); KeyBindingInputManager = CreateInputManager();
KeyBindingInputManager.RelativeSizeAxes = Axes.Both; KeyBindingInputManager.RelativeSizeAxes = Axes.Both;
} }