From b88771b59888d3562cbc1a09b9c5f4ed3d34560b Mon Sep 17 00:00:00 2001 From: guardianblue Date: Fri, 4 Oct 2024 00:35:19 +0100 Subject: [PATCH] fix: invert folder thermometer data direction (#1190) better lamps/grades should start from bottom, so that the cumulative lamps/grades can be deduced more easily --- client/src/components/game/folder/FolderDistributionTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/game/folder/FolderDistributionTable.tsx b/client/src/components/game/folder/FolderDistributionTable.tsx index 22615600b..fc2d00e8e 100644 --- a/client/src/components/game/folder/FolderDistributionTable.tsx +++ b/client/src/components/game/folder/FolderDistributionTable.tsx @@ -1,6 +1,6 @@ import { ChangeOpacity } from "util/color-opacity"; import { TACHI_BAR_THEME } from "util/constants/chart-theme"; -import { Reverse, StepFromToMax, PercentFrom } from "util/misc"; +import { StepFromToMax, PercentFrom } from "util/misc"; import { ResponsiveBar } from "@nivo/bar"; import { BarChartTooltip } from "components/charts/ChartTooltip"; import MiniTable from "components/tables/components/MiniTable"; @@ -63,7 +63,7 @@ function FolderThermometer({ return (