mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 08:22:56 +08:00
Fix key counter receptor getting overwritten by async load drawables
This commit is contained in:
parent
f107a922b4
commit
49633b3394
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user