mc-react-phonon-visualizer 0.5.1 → 0.5.2

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.
Files changed (2) hide show
  1. package/dist/main.js +2 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -56163,7 +56163,7 @@ const defaultGuiConfig = {
56163
56163
  guiConfig: defaultGuiConfig,
56164
56164
  viewerConfig: { backgroundColor: "#0000FF" }
56165
56165
  });
56166
- Gt.avr.modelStyle = 1, Gt.avr.atomScale = Ee, a.current = Gt;
56166
+ Gt.avr.modelStyle = 1, Gt.avr.atomScale = Ee, a.current = Gt, window.weas = Gt;
56167
56167
  }
56168
56168
  const We = a.current;
56169
56169
  let it, rt;
@@ -56185,7 +56185,7 @@ const defaultGuiConfig = {
56185
56185
  [-0.05, 1.05],
56186
56186
  [-0.05, 1.05],
56187
56187
  [-0.05, 1.05]
56188
- ], t ? We.avr.play() : We.avr.pause(), We.avr.frameDuration = 15 / le, We.avr.modelStyle = 1, me.current ? (We.avr.tjs.updateCameraAndControls({ direction: P }), me.current = !1) : it && rt && (We.avr.tjs.camera.position.copy(it), We.avr.tjs.controls.target.copy(rt), We.avr.tjs.controls.update()), We.avr.showCell = I, We.avr.VFManager.show = ne, We.avr.atomScale = Ee;
56188
+ ], t ? We.avr.play() : We.avr.pause(), We.avr.frameDuration = 15 / le, We.avr.modelStyle = 1, me.current ? (We.avr.tjs.updateCameraAndControls({ direction: P }), me.current = !1) : it && rt && (We.avr.tjs.camera.position.copy(it), We.avr.tjs.controls.target.copy(rt), We.avr.tjs.controls.update()), We.avr.cellManager._showCell = I, We.avr.VFManager.show = ne, We.avr.atomScale = Ee;
56189
56189
  for (let Gt = 0; Gt < We.avr._atomScales.length; Gt++)
56190
56190
  We.avr._atomScales[Gt] = Ee;
56191
56191
  We.avr.drawModels(), We.render();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mc-react-phonon-visualizer",
3
3
  "private": false,
4
- "version": "0.5.1",
4
+ "version": "0.5.2",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/types/index.d.ts",