1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 14:12:54 +08:00

Merge pull request #1217 from peppy/fix-mania-input

Fix incorrect initialisation order causing mania key bindings to not work
This commit is contained in:
Dean Herbert 2017-09-06 23:30:03 +09:00 committed by GitHub
commit 70e3ac30db

View File

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