1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-05 12:32:58 +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] [BackgroundDependencyLoader]
private void load(OsuConfigManager config) private void load(OsuConfigManager config)
{ {
KeyBindingInputManager.Children = new Drawable[] KeyBindingInputManager.AddRange(new Drawable[]
{ {
content = new Container content = new Container
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
}, },
Playfield Playfield
}; });
if (Cursor != null) if (Cursor != null)
KeyBindingInputManager.Add(Cursor); KeyBindingInputManager.Add(Cursor);