1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 04:51:21 +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
Unverified
parent 0af6b3dc0f
commit b67fd3d880
@@ -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)
{