1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 10:23:22 +08:00

Add length check for slider velocity

This commit is contained in:
Hồ Nguyên Minh 2023-09-04 10:43:05 +07:00
parent a8fc17188f
commit b17a55d6a8

View File

@ -177,6 +177,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
AddHeader("Final velocity");
AddValue($"{beatmapVelocity * current.Value:#,0.00}x");
if (sliderVelocities.Length == 0) return;
if (sliderVelocities.First() != sliderVelocities.Last())
{
AddHeader("Beatmap velocity range");