mirror of https://github.com/ppy/osu
Make `DrumSamplePlayer` a `CompositeDrawable`
This commit is contained in:
parent
f3d4cd3f95
commit
45adca17da
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue