mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 13:37:20 +09:00
Use Overlays
container rather than KeyBindingInputManager
for flashlight
This commit is contained in:
parent
970388d4e2
commit
b42b5f97cf
@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
flashlight.Colour = Color4.Black;
|
flashlight.Colour = Color4.Black;
|
||||||
|
|
||||||
flashlight.Combo.BindTo(Combo);
|
flashlight.Combo.BindTo(Combo);
|
||||||
drawableRuleset.KeyBindingInputManager.Add(flashlight);
|
drawableRuleset.Overlays.Add(flashlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected abstract Flashlight CreateFlashlight();
|
protected abstract Flashlight CreateFlashlight();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user