diff --git a/src/features/conversion.ts b/src/features/conversion.ts index d2a47d0..e2f7584 100644 --- a/src/features/conversion.ts +++ b/src/features/conversion.ts @@ -507,6 +507,8 @@ export function addSoftcap( ): ScalingFunction { return { ...scaling, + currentAt: conversion => softcap(scaling.currentAt(conversion), unref(cap), Decimal.recip(unref(power))), + nextAt: conversion => softcap(scaling.nextAt(conversion), unref(cap), Decimal.recip(unref(power))), currentGain: conversion => softcap(scaling.currentGain(conversion), unref(cap), unref(power)) };