1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

Fix key counter receptor getting overwritten by async load drawables

This commit is contained in:
Dean Herbert 2019-01-23 14:51:06 +09:00
parent f107a922b4
commit 49633b3394

View File

@ -250,14 +250,14 @@ namespace osu.Game.Rulesets.UI
[BackgroundDependencyLoader]
private void load(OsuConfigManager config)
{
KeyBindingInputManager.Children = new Drawable[]
KeyBindingInputManager.AddRange(new Drawable[]
{
content = new Container
{
RelativeSizeAxes = Axes.Both,
},
Playfield
};
});
if (Cursor != null)
KeyBindingInputManager.Add(Cursor);