From 8565d7574768ebb534082f9ba431be06a7c31394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 5 Apr 2024 09:51:22 -0500 Subject: [PATCH] feat: double gain --- src/app/tools/compare/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tools/compare/page.tsx b/src/app/tools/compare/page.tsx index 1689ba692..fe9b1f098 100644 --- a/src/app/tools/compare/page.tsx +++ b/src/app/tools/compare/page.tsx @@ -138,7 +138,7 @@ export default function Page() { {values.map((value, index) => { const deltaPercentage = (value ?? 1) / (values[0] ?? 1) - 1; const normalizedDeltaPercentage = Math.round( - Math.min(100, Math.abs(deltaPercentage) * 100 + 25), + Math.min(100, Math.abs(deltaPercentage) * 2 * 100 + 25), ); return (