shop-components 0.1.15 → 0.1.17
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
|
@@ -61981,7 +61981,7 @@ class pf extends be {
|
|
|
61981
61981
|
linewidth: 2,
|
|
61982
61982
|
dashSize: 0.03,
|
|
61983
61983
|
gapSize: 0.02
|
|
61984
|
-
})), this._text = new LS(), this._textWrapper = new zt(), this.add(this._line), this._showText && (this._text.fontSize = 0.06, this._text.color = "#666", this._text.textAlign = "justify", this._text.anchorX = "center", this._text.anchorY = "bottom", this._text.lineHeight = 1.8, this.add(this._textWrapper), this._textWrapper.add(this._text));
|
|
61984
|
+
})), this._text = new LS(), this._textWrapper = new zt(), this._line.frustumCulled = !1, this.add(this._line), this._showText && (this._text.fontSize = 0.06, this._text.color = "#666", this._text.textAlign = "justify", this._text.anchorX = "center", this._text.anchorY = "bottom", this._text.lineHeight = 1.8, this.add(this._textWrapper), this._textWrapper.add(this._text));
|
|
61985
61985
|
}
|
|
61986
61986
|
reset() {
|
|
61987
61987
|
var A;
|
|
@@ -62476,10 +62476,10 @@ class wK extends be {
|
|
|
62476
62476
|
if (e.material)
|
|
62477
62477
|
if (Array.isArray(e.material))
|
|
62478
62478
|
e.material.forEach((i) => {
|
|
62479
|
-
i.userData.changeColor && this.skins.push(new e2({
|
|
62479
|
+
i.userData.changeColor && (this.skins.find((r) => r.name === i.userData.name) || this.skins.push(new e2({
|
|
62480
62480
|
name: i.userData.name,
|
|
62481
62481
|
target: i
|
|
62482
|
-
}));
|
|
62482
|
+
})));
|
|
62483
62483
|
});
|
|
62484
62484
|
else {
|
|
62485
62485
|
if (e.material.userData.isBreathLight && e.material.emissiveIntensity) {
|
|
@@ -62489,10 +62489,10 @@ class wK extends be {
|
|
|
62489
62489
|
}).easing(Ts.Easing.Quintic.InOut).duration(1e3).start().yoyo(!0).repeat(1 / 0);
|
|
62490
62490
|
this._breathLights.push(i);
|
|
62491
62491
|
}
|
|
62492
|
-
e.material.userData.changeColor && this.skins.push(new e2({
|
|
62492
|
+
e.material.userData.changeColor && (this.skins.find((i) => i.name === e.material.userData.name) || this.skins.push(new e2({
|
|
62493
62493
|
name: e.material.userData.name,
|
|
62494
62494
|
target: e.material
|
|
62495
|
-
}));
|
|
62495
|
+
})));
|
|
62496
62496
|
}
|
|
62497
62497
|
if (e.material)
|
|
62498
62498
|
if (Array.isArray(e.material))
|