mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: double gain
This commit is contained in:
1 parent
186ea8b458
commit
8565d75747
1 file changed
+1
-1
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user