mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Moved drumroll container and removed rewound notes
This commit is contained in:
parent
26779a57b4
commit
2600518b1b
@ -119,7 +119,14 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Left = HIT_TARGET_OFFSET },
|
Padding = new MarginPadding { Left = HIT_TARGET_OFFSET },
|
||||||
Masking = true,
|
Masking = true,
|
||||||
Child = HitObjectContainer
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
HitObjectContainer,
|
||||||
|
drumRollHitContainer = new ScrollingHitObjectContainer
|
||||||
|
{
|
||||||
|
Name = "Drumroll hit"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
kiaiExplosionContainer = new Container<KiaiHitExplosion>
|
kiaiExplosionContainer = new Container<KiaiHitExplosion>
|
||||||
{
|
{
|
||||||
@ -135,14 +142,6 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Y,
|
||||||
Margin = new MarginPadding { Left = HIT_TARGET_OFFSET },
|
Margin = new MarginPadding { Left = HIT_TARGET_OFFSET },
|
||||||
Blending = BlendingParameters.Additive
|
Blending = BlendingParameters.Additive
|
||||||
},
|
|
||||||
drumRollHitContainer = new ScrollingHitObjectContainer
|
|
||||||
{
|
|
||||||
Name = "Drumroll hit",
|
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
FillMode = FillMode.Stretch,
|
|
||||||
Margin = new MarginPadding { Left = HIT_TARGET_OFFSET },
|
|
||||||
Width = 1.0f
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -282,6 +281,20 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void Update()
|
||||||
|
{
|
||||||
|
base.Update();
|
||||||
|
|
||||||
|
if (Time.Elapsed < 0)
|
||||||
|
{
|
||||||
|
foreach (DrawableHit taikoHit in drumRollHitContainer.Objects)
|
||||||
|
{
|
||||||
|
taikoHit.RemoveProxiedContent();
|
||||||
|
drumRollHitContainer.Remove(taikoHit);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private class ProxyContainer : LifetimeManagementContainer
|
private class ProxyContainer : LifetimeManagementContainer
|
||||||
{
|
{
|
||||||
public new MarginPadding Padding
|
public new MarginPadding Padding
|
||||||
|
Loading…
Reference in New Issue
Block a user