Skip to content

Commit

Permalink
Use sb element path as a name
Browse files Browse the repository at this point in the history
  • Loading branch information
EVAST9919 committed May 25, 2024
1 parent 2134ff7 commit 1e90e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public DrawableStoryboardAnimation(StoryboardAnimation animation)
Origin = animation.Origin;
Position = animation.InitialPosition;
Loop = animation.LoopType == AnimationLoopType.LoopForever;
Name = animation.Path;

LifetimeStart = animation.StartTime;
LifetimeEnd = animation.EndTimeForDisplay;
Expand Down
1 change: 1 addition & 0 deletions osu.Game/Storyboards/Drawables/DrawableStoryboardSprite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public DrawableStoryboardSprite(StoryboardSprite sprite)
Sprite = sprite;
Origin = sprite.Origin;
Position = sprite.InitialPosition;
Name = sprite.Path;

LifetimeStart = sprite.StartTime;
LifetimeEnd = sprite.EndTimeForDisplay;
Expand Down

0 comments on commit 1e90e5e

Please sign in to comment.