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:
parent
f3d4cd3f95
commit
45adca17da
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user