diff --git a/Framework/physics/cubismphysics.ts b/Framework/physics/cubismphysics.ts index 3f30c32..f295c4b 100644 --- a/Framework/physics/cubismphysics.ts +++ b/Framework/physics/cubismphysics.ts @@ -762,14 +762,14 @@ export namespace Live2DCubismFramework if(maxValue < value) { - return result; + value = maxValue; } const minValue: number = CubismMath.min(parameterMaximum, parameterMinimum); if(minValue > value) { - return result; + value = minValue; } const minNormValue: number = CubismMath.min(normalizedMinimum, normalizedMaximum);