mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
chore(osu.Game): split transform duration of bars on HitTimingDistributionGraph
This commit is contained in:
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user