@needle-tools/three 0.162.8 → 0.162.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -280,9 +280,8 @@ class OrbitControls extends EventDispatcher {
280
280
 
281
281
  }
282
282
 
283
- spherical.radius = clampDistance( spherical.radius * currentScale );
284
283
  const prevRadius = spherical.radius;
285
- spherical.radius = clampDistance( spherical.radius * scale );
284
+ spherical.radius = clampDistance( spherical.radius * currentScale );
286
285
  zoomChanged = prevRadius != spherical.radius;
287
286
 
288
287
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/three",
3
- "version": "0.162.8",
3
+ "version": "0.162.9",
4
4
  "description": "JavaScript 3D library",
5
5
  "type": "module",
6
6
  "main": "./build/three.cjs",