shop-components 0.1.36 → 0.1.37

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.
@@ -65081,7 +65081,7 @@ class aH {
65081
65081
  }, this.fit = () => {
65082
65082
  new ve().setFromObject(this._container);
65083
65083
  const i = this.amr.sizeBox.size.getSize(new O()), r = i.clone().multiplyScalar(0.5), s = Math.max(i.x, i.y, i.z) + Math.max(i.x, i.y), o = Math.min(i.x, i.y, i.z) + 0.5, l = this.camera.position.clone().normalize().multiplyScalar(s);
65084
- l.setY(r.y * 1.6), this._fitAnimation = new fd(this.camera.position).to(l, 600).easing(Ds.Easing.Quintic.InOut).onStart(() => {
65084
+ l.setY(s * Math.sin(30 / 180 * Math.PI)), this._fitAnimation = new fd(this.camera.position).to(l, 600).easing(Ds.Easing.Quintic.InOut).onStart(() => {
65085
65085
  this.controls.enabled = !1;
65086
65086
  }).onComplete(() => {
65087
65087
  this.controls.enabled = !0;