1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 22:33:05 +08:00

Actually use new end time property when setting lifetimes

This commit is contained in:
Dean Herbert 2023-04-26 13:28:51 +09:00
parent e330052852
commit 1efc78c0f8
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ namespace osu.Game.Storyboards.Drawables
Loop = animation.LoopType == AnimationLoopType.LoopForever; Loop = animation.LoopType == AnimationLoopType.LoopForever;
LifetimeStart = animation.StartTime; LifetimeStart = animation.StartTime;
LifetimeEnd = animation.EndTime; LifetimeEnd = animation.EndTimeForDisplay;
} }
[Resolved] [Resolved]

View File

@ -82,7 +82,7 @@ namespace osu.Game.Storyboards.Drawables
Position = sprite.InitialPosition; Position = sprite.InitialPosition;
LifetimeStart = sprite.StartTime; LifetimeStart = sprite.StartTime;
LifetimeEnd = sprite.EndTime; LifetimeEnd = sprite.EndTimeForDisplay;
} }
[Resolved] [Resolved]