Skip to content

Commit

Permalink
Merge pull request #28305 from EVAST9919/sb-easier-debug
Browse files Browse the repository at this point in the history
Show storyboard element path in `Draw Visualiser`
  • Loading branch information
peppy authored May 25, 2024
2 parents 2134ff7 + 1e90e5e commit d55fa42
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 d55fa42

Please sign in to comment.