mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Fix drum roll ticks.
This commit is contained in:
parent
88cefa77bd
commit
8b4f28318f
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
|
||||
foreach (var tick in drumRoll.Ticks)
|
||||
{
|
||||
var newTick = new DrawableDrumRollTick(tick) { X = (float)tick.StartTime };
|
||||
var newTick = new DrawableDrumRollTick(tick);
|
||||
newTick.OnJudgement += onTickJudgement;
|
||||
|
||||
AddNested(newTick);
|
||||
|
@ -15,6 +15,10 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
public DrawableDrumRollTick(DrumRollTick tick)
|
||||
: base(tick)
|
||||
{
|
||||
// Because ticks aren't added by the ScrollingPlayfield, we need to set the following properties ourselves
|
||||
RelativePositionAxes = Axes.X;
|
||||
X = (float)tick.StartTime;
|
||||
|
||||
FillMode = FillMode.Fit;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user