vis-core 0.28.6 → 0.28.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.
@@ -88,7 +88,7 @@ const publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRz
88
88
  ).toString(CryptoJS.enc.Utf8), ke = JSON.parse(Ae), He = Date.now();
89
89
  return !ke.s || ke.s > He ? (this.token = void 0, "") : ke.e && ke.e < He ? (this.token = void 0, "") : (ke.isValid = Pe, ke);
90
90
  }
91
- }, version = "0.28.6";
91
+ }, version = "0.28.7";
92
92
  /**
93
93
  * @license
94
94
  * Copyright 2010-2025 Three.js Authors
@@ -60006,7 +60006,7 @@ class Editor {
60006
60006
  object: r.object3d,
60007
60007
  baseObject: r,
60008
60008
  material: m,
60009
- use: !!this.pencil.mList.getBaseObjectMap(m).size
60009
+ use: this.pencil.mList.getBaseObjectMap(m).size
60010
60010
  };
60011
60011
  }), this.emit("mListGraphChanged");
60012
60012
  }
@@ -60748,7 +60748,7 @@ class Base extends Camera {
60748
60748
  if (this.options.css2DContainer && (r.css2DRendererParams = {
60749
60749
  container: this.options.css2DContainer
60750
60750
  }), this.options.pencil)
60751
- this.pencil = this.options.pencil, this.sceneActive = this.pencil.addPage({
60751
+ this.pencil = this.options.pencil, this.pencil.stop(), this.sceneActive = this.pencil.addPage({
60752
60752
  cameraOptions: {
60753
60753
  fov: (C = (v = r.camera) == null ? void 0 : v.fov) != null ? C : 45,
60754
60754
  near: (O = (w = r.camera) == null ? void 0 : w.near) != null ? O : 0.1,
@@ -60946,7 +60946,7 @@ class Base extends Camera {
60946
60946
  this.showState || (this.useSaveCamera("visShow"), this.options.disableInitShow || this.showAction());
60947
60947
  }
60948
60948
  showAction() {
60949
- this.lead.group.show(), this.playing || this.lead.prefabGroup.show(), this.pencil.start(), this.showState = !0, this.emit("show");
60949
+ this.showState || (this.lead.group.show(), this.playing || this.lead.prefabGroup.show(), this.pencil.start(), this.showState = !0, this.emit("show"));
60950
60950
  }
60951
60951
  hide() {
60952
60952
  this.showState && (this.lead.group.hide(), this.lead.prefabGroup.hide(), this.showState = !1, this.emit("hide"));
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.28.6";
1
+ declare const _default: "0.28.7";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.28.6",
3
+ "version": "0.28.7",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version && bundler",