@thatopen/components 2.1.12 → 2.1.13
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/core/Components/index.d.ts +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/dist/namespace.d.ts +1988 -1988
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2968,7 +2968,7 @@ const Fs = class Fs {
|
|
|
2968
2968
|
/**
|
|
2969
2969
|
* The version of the @thatopen/components library.
|
|
2970
2970
|
*/
|
|
2971
|
-
I(Fs, "release", "2.1.
|
|
2971
|
+
I(Fs, "release", "2.1.13");
|
|
2972
2972
|
let pi = Fs;
|
|
2973
2973
|
class Ar {
|
|
2974
2974
|
constructor(s) {
|
|
@@ -4845,7 +4845,7 @@ class We extends cr {
|
|
|
4845
4845
|
throw new Error("This camera needs a renderer to work!");
|
|
4846
4846
|
ot.install({ THREE: We.getSubsetOfThree() });
|
|
4847
4847
|
const { domElement: t } = this.currentWorld.renderer.three, e = new ot(this.three, t);
|
|
4848
|
-
return e.smoothTime = 0.2, e.dollyToCursor = !0, e.infinityDolly = !0, e;
|
|
4848
|
+
return e.smoothTime = 0.2, e.dollyToCursor = !0, e.infinityDolly = !0, e.minDistance = 6, e;
|
|
4849
4849
|
}
|
|
4850
4850
|
setupEvents(t) {
|
|
4851
4851
|
t ? window.addEventListener("resize", this.updateAspect) : window.removeEventListener("resize", this.updateAspect);
|
|
@@ -6965,7 +6965,7 @@ const Zr = /* @__PURE__ */ new Map([
|
|
|
6965
6965
|
if (!(n && r))
|
|
6966
6966
|
return;
|
|
6967
6967
|
const a = e[n].value, c = e[r].map((E) => E.value), h = t.get(a) ?? /* @__PURE__ */ new Map(), d = this.getAttributeIndex(o);
|
|
6968
|
-
d && (h.set(d, c), t.set(a, h));
|
|
6968
|
+
d !== null && (h.set(d, c), t.set(a, h));
|
|
6969
6969
|
for (const E of c) {
|
|
6970
6970
|
const u = t.get(E) ?? /* @__PURE__ */ new Map(), f = this.getAttributeIndex(i);
|
|
6971
6971
|
if (!f)
|