mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 10:42:54 +08:00
Add minimum height to the timing distribution graph
This commit is contained in:
parent
486b899e8f
commit
4cb49cd606
@ -69,7 +69,7 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
int maxCount = bins.Max();
|
||||
var bars = new Drawable[total_timing_distribution_bins];
|
||||
for (int i = 0; i < bars.Length; i++)
|
||||
bars[i] = new Bar { Height = (float)bins[i] / maxCount };
|
||||
bars[i] = new Bar { Height = Math.Max(0.05f, (float)bins[i] / maxCount) };
|
||||
|
||||
Container axisFlow;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user