mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 05:52:54 +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())
|
if (values.Any())
|
||||||
{
|
{
|
||||||
boxOriginals = values.Select(v => new Circle
|
boxOriginals = values.Select((v, i) => new Circle
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Anchor = Anchor.BottomCentre,
|
Anchor = Anchor.BottomCentre,
|
||||||
Origin = Anchor.BottomCentre,
|
Origin = Anchor.BottomCentre,
|
||||||
Colour = isCentre ? Color4.White : v.Colour,
|
Colour = isCentre && i == 0 ? Color4.White : v.Colour,
|
||||||
Height = 0,
|
Height = 0,
|
||||||
}).ToArray();
|
}).ToArray();
|
||||||
InternalChildren = boxOriginals.Reverse().ToArray();
|
InternalChildren = boxOriginals.Reverse().ToArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user