mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 02:22:59 +08:00
Fix merge conflicts
This commit is contained in:
parent
8d3e502262
commit
a85be2a46d
@ -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
|
// 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.
|
// and thus conservativeEndTime will be used.
|
||||||
double conservativeEndTime = TimelineGroup.EndTime;
|
double conservativeEndTime = Commands.EndTime;
|
||||||
|
|
||||||
foreach (var l in loops)
|
foreach (var l in loopingGroups)
|
||||||
conservativeEndTime = Math.Max(conservativeEndTime, l.StartTime + l.CommandsDuration * l.TotalIterations);
|
conservativeEndTime = Math.Max(conservativeEndTime, l.StartTime + l.Duration * l.TotalIterations);
|
||||||
|
|
||||||
return Math.Min(latestEndTime, conservativeEndTime);
|
return Math.Min(latestEndTime, conservativeEndTime);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user