mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 04:09:53 +08:00
Fix merge conflicts
This commit is contained in:
@@ -97,10 +97,10 @@ namespace osu.Game.Storyboards
|
||||
|
||||
// If the logic above fails to find anything or discarded by the fact that there are loops present, latestEndTime will be double.MaxValue
|
||||
// and thus conservativeEndTime will be used.
|
||||
double conservativeEndTime = TimelineGroup.EndTime;
|
||||
double conservativeEndTime = Commands.EndTime;
|
||||
|
||||
foreach (var l in loops)
|
||||
conservativeEndTime = Math.Max(conservativeEndTime, l.StartTime + l.CommandsDuration * l.TotalIterations);
|
||||
foreach (var l in loopingGroups)
|
||||
conservativeEndTime = Math.Max(conservativeEndTime, l.StartTime + l.Duration * l.TotalIterations);
|
||||
|
||||
return Math.Min(latestEndTime, conservativeEndTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user