mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Fix storyboard loops start time when none of their commands start at 0.
This commit is contained in:
@ -10,8 +10,8 @@ namespace osu.Game.Storyboards
|
|||||||
public double LoopStartTime;
|
public double LoopStartTime;
|
||||||
public int LoopCount;
|
public int LoopCount;
|
||||||
|
|
||||||
public override double StartTime => LoopStartTime;
|
public override double StartTime => LoopStartTime + CommandsStartTime;
|
||||||
public override double EndTime => LoopStartTime + CommandsDuration * LoopCount;
|
public override double EndTime => StartTime + CommandsDuration * LoopCount;
|
||||||
|
|
||||||
public CommandLoop(double startTime, int loopCount)
|
public CommandLoop(double startTime, int loopCount)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user