shop-components 0.1.6 → 0.1.7
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.
package/dist/shop-components.mjs
CHANGED
|
@@ -34442,7 +34442,7 @@ class vO extends yt {
|
|
|
34442
34442
|
this._slots.forEach((i) => i.shapeKeyChanged(t, e)), this.sizeBox.follow === t ? (this.sizeBox.generate(this._container, e), this.sizeBox.originOffset && (this._container.traverse((i) => {
|
|
34443
34443
|
if (i instanceof qt && i.geometry.translate(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0), i instanceof Sm && i.parent) {
|
|
34444
34444
|
const s = new E(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0).applyQuaternion(i.parent.quaternion);
|
|
34445
|
-
i.parent.rotation.z + Math.PI / 2 < 1e-3 ? i.position.sub(s) : i.position.add(s);
|
|
34445
|
+
Math.abs(i.parent.rotation.z + Math.PI / 2) < 1e-3 ? i.position.sub(s) : i.position.add(s);
|
|
34446
34446
|
}
|
|
34447
34447
|
}), this.sizeBox.translateCache = this.sizeBox.originOffset, this.sizeBox.generate(this._container))) : this.sizeBox.generate(this._container);
|
|
34448
34448
|
});
|