@inweb/viewer-visualize 25.9.6 → 25.9.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.
- package/dist/viewer-visualize.js +7 -1
- package/dist/viewer-visualize.js.map +1 -1
- package/dist/viewer-visualize.min.js +1 -1
- package/dist/viewer-visualize.module.js +1 -1
- package/dist/viewer-visualize.module.js.map +1 -1
- package/lib/Viewer/Viewer.d.ts +6 -0
- package/package.json +5 -5
- package/src/Viewer/Viewer.ts +6 -0
package/dist/viewer-visualize.js
CHANGED
|
@@ -13723,7 +13723,7 @@
|
|
|
13723
13723
|
x: (pointer.x - this._konvaStage.x()) / oldScale,
|
|
13724
13724
|
y: (pointer.y - this._konvaStage.y()) / oldScale
|
|
13725
13725
|
};
|
|
13726
|
-
|
|
13726
|
+
const direction = event.data > 0 ? 1 : -1;
|
|
13727
13727
|
const newScale = direction > 0 ? oldScale * event.data : oldScale / event.data;
|
|
13728
13728
|
this._konvaStage.scale({
|
|
13729
13729
|
x: newScale,
|
|
@@ -18206,6 +18206,9 @@
|
|
|
18206
18206
|
/**
|
|
18207
18207
|
* Loads a `VSF` file into the viewer.
|
|
18208
18208
|
*
|
|
18209
|
+
* This method does not support {@link IOptions.enableStreamingMode | streaming} or
|
|
18210
|
+
* {@link IOptions.enablePartialMode | partial load} mode.
|
|
18211
|
+
*
|
|
18209
18212
|
* Fires:
|
|
18210
18213
|
*
|
|
18211
18214
|
* - {@link OpenEvent | open}
|
|
@@ -18245,6 +18248,9 @@
|
|
|
18245
18248
|
/**
|
|
18246
18249
|
* Loads a `VSFX` file into the viewer.
|
|
18247
18250
|
*
|
|
18251
|
+
* This method does not support {@link IOptions.enableStreamingMode | streaming} or
|
|
18252
|
+
* {@link IOptions.enablePartialMode | partial load} mode.
|
|
18253
|
+
*
|
|
18248
18254
|
* Fires:
|
|
18249
18255
|
*
|
|
18250
18256
|
* - {@link OpenEvent | open}
|