1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 14:42:56 +08:00

Show slider velocity in hit object inspector

This commit is contained in:
Dean Herbert 2023-05-05 15:15:18 +09:00
parent 698baa78bf
commit 76b2f0e6dd

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");