1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 23:43:03 +08:00
This commit is contained in:
smoogipoo 2017-12-01 18:40:55 +09:00
parent 0b95e36675
commit 5be00cb0ec

View File

@ -40,6 +40,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
return;
}
// Todo: This should be handled more gracefully
timeline.RelativeChildSize = Beatmap.Value.Track.Length == double.PositiveInfinity ? Vector2.One : new Vector2((float)Math.Max(1, Beatmap.Value.Track.Length), 1);
}