viral-viewer-2 6.5.7 → 6.5.8
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/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -23198,7 +23198,7 @@ class O2 {
|
|
|
23198
23198
|
setupCamera() {
|
|
23199
23199
|
this.camera = new un(
|
|
23200
23200
|
60,
|
|
23201
|
-
this.targetElement.
|
|
23201
|
+
this.targetElement.clientWidth / this.targetElement.clientHeight,
|
|
23202
23202
|
0.1,
|
|
23203
23203
|
2e6
|
|
23204
23204
|
), this.camera.position.set(0, 0, 2), this.viralViewerApi.options && this.viralViewerApi.options.cameraZUp && (this.camera.up.set(0, 0, 1), this.camera.position.set(100, 100, 0)), vs.install({ THREE: D2 }), this.cameraControls = new vs(
|
|
@@ -26890,7 +26890,7 @@ class yP {
|
|
|
26890
26890
|
//#endregion
|
|
26891
26891
|
//#region Window
|
|
26892
26892
|
windowHandler() {
|
|
26893
|
-
|
|
26893
|
+
window.onresize = () => {
|
|
26894
26894
|
this.viralViewerApi.viralCamera.resizeCanvas();
|
|
26895
26895
|
};
|
|
26896
26896
|
}
|