Fix storyboard loops start time when none of their commands start at 0.

This commit is contained in:
Damnae 2017-09-16 13:15:16 +02:00
parent 5f6b300a3a
commit 2201fc745e
1 changed files with 2 additions and 2 deletions

View File

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