Make `DrumSamplePlayer` a `CompositeDrawable`

This commit is contained in:
Dean Herbert 2022-06-02 14:39:57 +09:00
parent f3d4cd3f95
commit 45adca17da
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
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 @@ internal class DrumSamplePlayer : Container, IKeyBindingHandler<TaikoAction>
public DrumSamplePlayer(HitObjectContainer hitObjectContainer)
{
Children = new Drawable[]
InternalChildren = new Drawable[]
{
leftRimSampleTriggerSource = new DrumSampleTriggerSource(hitObjectContainer),
leftCentreSampleTriggerSource = new DrumSampleTriggerSource(hitObjectContainer),