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

chore(osu.Game): split transform duration of bars on HitTimingDistributionGraph

This commit is contained in:
Acid Chicken (硫酸鶏) 2022-09-05 03:45:51 +09:00
parent 0af6b3dc0f
commit b67fd3d880
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99

View File

@ -278,7 +278,9 @@ namespace osu.Game.Screens.Ranking.Statistics
}
}
private const double duration = 300;
private const double total_duration = 300;
private double duration => total_duration / Math.Max(values.Count, 1);
private float offsetForValue(float value)
{