Use Overlays container rather than KeyBindingInputManager for flashlight

This commit is contained in:
Dean Herbert 2023-02-14 17:36:01 +09:00
parent 970388d4e2
commit b42b5f97cf

View File

@ -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();