mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 03:07:19 +08:00
Remove type check for now
This commit is contained in:
parent
16e96888ab
commit
a63923a497
@ -77,8 +77,6 @@ namespace osu.Game.Rulesets.UI
|
|||||||
{
|
{
|
||||||
Ruleset = ruleset;
|
Ruleset = ruleset;
|
||||||
KeyBindingInputManager = CreateInputManager();
|
KeyBindingInputManager = CreateInputManager();
|
||||||
if (!(KeyBindingInputManager is ICanAttachKeyCounter))
|
|
||||||
throw new InvalidOperationException($"Rulesets should create input managers of type {nameof(ICanAttachKeyCounter)}");
|
|
||||||
KeyBindingInputManager.RelativeSizeAxes = Axes.Both;
|
KeyBindingInputManager.RelativeSizeAxes = Axes.Both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user