mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 12:37:38 +09:00
Fix key counter getting overridden
This commit is contained in:
parent
15821c7511
commit
3fcbc2eab3
@ -34,11 +34,14 @@ namespace osu.Game.Rulesets.UI
|
|||||||
|
|
||||||
protected readonly KeyBindingContainer<T> KeyBindingContainer;
|
protected readonly KeyBindingContainer<T> KeyBindingContainer;
|
||||||
|
|
||||||
protected override Container<Drawable> Content => KeyBindingContainer;
|
protected override Container<Drawable> Content => content;
|
||||||
|
|
||||||
|
private readonly Container content;
|
||||||
|
|
||||||
protected RulesetInputManager(RulesetInfo ruleset, int variant, SimultaneousBindingMode unique)
|
protected RulesetInputManager(RulesetInfo ruleset, int variant, SimultaneousBindingMode unique)
|
||||||
{
|
{
|
||||||
InternalChild = KeyBindingContainer = CreateKeyBindingContainer(ruleset, variant, unique);
|
InternalChild = KeyBindingContainer = CreateKeyBindingContainer(ruleset, variant, unique)
|
||||||
|
.WithChild(content = new Container { RelativeSizeAxes = Axes.Both });
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user