Skip to content

Commit

Permalink
fix color constants (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
masha237 authored Sep 6, 2024
1 parent 3631f82 commit 9a42857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/overlay/src/statistics/barData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ export const stackedBarsData = (tasks: ProblemInfo[], statistics: SolutionsStati
} else if (statistics.type == SolutionsStatistic.Type.IOI) {
legend.push({
caption: "max score",
color: c.VERDICT_OK2,
color: c.VERDICT_OK,
});
legend.push({
caption: "min score",
color: c.VERDICT_NOK2,
color: c.VERDICT_NOK,
});
bars.push(...statistics.stats?.map(({ result }, index) => ({
name: tasks[index].letter,
Expand Down

0 comments on commit 9a42857

Please sign in to comment.