diff --git a/src/Process.cpp b/src/Process.cpp index 23d849c..05bf5e0 100644 --- a/src/Process.cpp +++ b/src/Process.cpp @@ -63,7 +63,9 @@ struct Process : Module { struct SlewQuantity : ParamQuantity { float getDisplayValue() override { - return (getSmoothValue() <= getMinValue()) ? 0.f : ParamQuantity::getDisplayValue(); + if (getValue() <= getMinValue()) + return 0.f; + return ParamQuantity::getDisplayValue(); } }; configParam(SLEW_PARAM, std::log2(1e-3f), std::log2(10.f), std::log2(1e-3f), "Slew", " ms/V", 2, 1000);