vim-web 0.5.0-dev.4 → 0.5.0-dev.5
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/vim-web.js
CHANGED
|
@@ -60039,7 +60039,7 @@ class SectionBox2 {
|
|
|
60039
60039
|
* Fits the given box, invalid dimensions will be reversed.
|
|
60040
60040
|
* @param box - The new bounding box.
|
|
60041
60041
|
*/
|
|
60042
|
-
|
|
60042
|
+
setBox(box) {
|
|
60043
60043
|
box = safeBox(box);
|
|
60044
60044
|
this._box = box;
|
|
60045
60045
|
this.scheduleUpdate();
|
|
@@ -76197,7 +76197,7 @@ function useUltraSectionBox(viewer) {
|
|
|
76197
76197
|
viewer.sectionBox.interactive = b;
|
|
76198
76198
|
},
|
|
76199
76199
|
getBox: () => viewer.sectionBox.getBox(),
|
|
76200
|
-
setBox: (box) => viewer.sectionBox.
|
|
76200
|
+
setBox: (box) => viewer.sectionBox.setBox(box),
|
|
76201
76201
|
onSelectionChanged: viewer.selection.onSelectionChanged,
|
|
76202
76202
|
getSelectionBox: () => viewer.selection.getBoundingBox(),
|
|
76203
76203
|
getSceneBox: () => viewer.renderer.getBoundingBox()
|