1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

Merge pull request #23404 from peppy/show-sv-in-inspector

Show slider velocity in hit object inspector
This commit is contained in:
Bartłomiej Dach 2023-05-05 20:19:50 +02:00 committed by GitHub
commit 4ca80cf6be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,12 @@ namespace osu.Game.Rulesets.Edit
addValue($"{distance.Distance:#,0.##}px");
}
if (selected is IHasSliderVelocity sliderVelocity)
{
addHeader("Slider Velocity");
addValue($"{sliderVelocity.SliderVelocity:#,0.00}x");
}
if (selected is IHasRepeats repeats)
{
addHeader("Repeats");