We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7cefe1 commit 6038eebCopy full SHA for 6038eeb
components/rank-chart/rank-chart.tsx
@@ -75,7 +75,7 @@ export function RankChart({ progress, colors = DEFAULT_COLORS, debug = false }:
75
d.isGap ? (
76
<Cell key={i} fill="transparent" />
77
) : (
78
- <Cell key={i} fill={colors[d.tier % colors.length]} fillOpacity={isActive(d) ? 1 : DIM_OPACITY} />
+ <Cell key={i} fill={colors[(d.tier - 1) % colors.length]} fillOpacity={isActive(d) ? 1 : DIM_OPACITY} />
79
),
80
)}
81
</Pie>
0 commit comments