1
0
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:
smoogipooo 2017-06-02 16:39:31 +09:00
parent 1eddc278a4
commit 8f6118ffb8

View File

@ -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)