mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 05:03:20 +08:00
Set lifetime for timing change containers very naively for now.
This commit is contained in:
parent
1eddc278a4
commit
8f6118ffb8
@ -36,6 +36,9 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables
|
||||
// Adjust our height to account for the speed changes
|
||||
Height = (float)(1000 / TimingChange.BeatLength / TimingChange.SpeedMultiplier);
|
||||
RelativeCoordinateSpace = new Vector2(1, (float)parent.TimeSpan);
|
||||
|
||||
LifetimeStart = TimingChange.Time - parent.TimeSpan;
|
||||
LifetimeEnd = TimingChange.Time + Content.RelativeCoordinateSpace.Y * 2;
|
||||
}
|
||||
|
||||
public override void Add(DrawableHitObject drawable)
|
||||
|
Loading…
Reference in New Issue
Block a user