mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
chore(osu.Game): only the first result should be white at zero position on HitEventTimingDistributionGraph
This commit is contained in:
parent
19ab1433c6
commit
7e77c9e8b4
@ -252,12 +252,12 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
|
||||
if (values.Any())
|
||||
{
|
||||
boxOriginals = values.Select(v => new Circle
|
||||
boxOriginals = values.Select((v, i) => new Circle
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Colour = isCentre ? Color4.White : v.Colour,
|
||||
Colour = isCentre && i == 0 ? Color4.White : v.Colour,
|
||||
Height = 0,
|
||||
}).ToArray();
|
||||
InternalChildren = boxOriginals.Reverse().ToArray();
|
||||
|
Loading…
Reference in New Issue
Block a user