1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Make DrumSamplePlayer a CompositeDrawable

This commit is contained in:
Dean Herbert 2022-06-02 14:39:57 +09:00
parent f3d4cd3f95
commit 45adca17da

View File

@ -10,7 +10,7 @@ using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Taiko.UI
{
internal class DrumSamplePlayer : Container, IKeyBindingHandler<TaikoAction>
internal class DrumSamplePlayer : CompositeDrawable, IKeyBindingHandler<TaikoAction>
{
private readonly DrumSampleTriggerSource leftRimSampleTriggerSource;
private readonly DrumSampleTriggerSource leftCentreSampleTriggerSource;
@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Taiko.UI
public DrumSamplePlayer(HitObjectContainer hitObjectContainer)
{
Children = new Drawable[]
InternalChildren = new Drawable[]
{
leftRimSampleTriggerSource = new DrumSampleTriggerSource(hitObjectContainer),
leftCentreSampleTriggerSource = new DrumSampleTriggerSource(hitObjectContainer),