three-cad-viewer 4.1.0 → 4.1.1

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.
@@ -88238,6 +88238,12 @@ class CADTrackballControls extends TrackballControls {
88238
88238
  _onHolroydWheel() {
88239
88239
  // Parent's wheel handler already processed the event, just call update
88240
88240
  this.update();
88241
+ // TrackballControls uses dynamic damping (staticMoving=false) which only
88242
+ // consumes ~20% of the zoom delta per update() call. In animation-loop mode
88243
+ // this creates smooth deceleration, but in change-listener mode (no continuous
88244
+ // updates) the residual delta persists and gets applied on the next interaction
88245
+ // (e.g., clicking to rotate), causing a phantom zoom. Clear it.
88246
+ this._zoomStart.copy(this._zoomEnd);
88241
88247
  }
88242
88248
  /**
88243
88249
  * Override dispose to clean up our event listeners.
@@ -90600,7 +90606,7 @@ class Tools {
90600
90606
  }
90601
90607
  }
90602
90608
 
90603
- const version = "4.1.0";
90609
+ const version = "4.1.1";
90604
90610
 
90605
90611
  /**
90606
90612
  * All valid state keys for runtime validation