mirror of https://github.com/ppy/osu
Fix storyboard loops start time when none of their commands start at 0.
This commit is contained in:
parent
5f6b300a3a
commit
2201fc745e
|
@ -10,8 +10,8 @@ public class CommandLoop : CommandTimelineGroup
|
|||
public double LoopStartTime;
|
||||
public int LoopCount;
|
||||
|
||||
public override double StartTime => LoopStartTime;
|
||||
public override double EndTime => LoopStartTime + CommandsDuration * LoopCount;
|
||||
public override double StartTime => LoopStartTime + CommandsStartTime;
|
||||
public override double EndTime => StartTime + CommandsDuration * LoopCount;
|
||||
|
||||
public CommandLoop(double startTime, int loopCount)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue