mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 17:53:15 +08:00
Merge pull request #21144 from peppy/fix-storyboard-end-start-time
Fix incorrect handling of storyboard events with `end_time` before `start_time`
This commit is contained in:
commit
fd88c92d5a
@ -28,8 +28,7 @@ namespace osu.Game.Storyboards
|
|||||||
{
|
{
|
||||||
if (endTime < startTime)
|
if (endTime < startTime)
|
||||||
{
|
{
|
||||||
(startTime, endTime) = (endTime, startTime);
|
endTime = startTime;
|
||||||
(startValue, endValue) = (endValue, startValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
commands.Add(new TypedCommand { Easing = easing, StartTime = startTime, EndTime = endTime, StartValue = startValue, EndValue = endValue });
|
commands.Add(new TypedCommand { Easing = easing, StartTime = startTime, EndTime = endTime, StartValue = startValue, EndValue = endValue });
|
||||||
|
Loading…
Reference in New Issue
Block a user