1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 07:43:00 +08:00

Use sb element path as a name

This commit is contained in:
Andrei Zavatski 2024-05-25 13:24:25 +03:00
parent 2134ff7a1b
commit 1e90e5e38e
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ namespace osu.Game.Storyboards.Drawables
Origin = animation.Origin;
Position = animation.InitialPosition;
Loop = animation.LoopType == AnimationLoopType.LoopForever;
Name = animation.Path;
LifetimeStart = animation.StartTime;
LifetimeEnd = animation.EndTimeForDisplay;

View File

@ -85,6 +85,7 @@ namespace osu.Game.Storyboards.Drawables
Sprite = sprite;
Origin = sprite.Origin;
Position = sprite.InitialPosition;
Name = sprite.Path;
LifetimeStart = sprite.StartTime;
LifetimeEnd = sprite.EndTimeForDisplay;