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:
parent
e330052852
commit
1efc78c0f8
@ -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]
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user