vim-web 0.3.44-dev.67 → 0.3.44-dev.68

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.
@@ -101,5 +101,5 @@ export declare class Selection<T extends IVimObject> {
101
101
  * Skips objects that do not implement `getBoundingBox()`.
102
102
  * @returns A promise resolving to the combined bounding box.
103
103
  */
104
- getBoundingBox(): Promise<THREE.Box3>;
104
+ getBoundingBox(): Promise<THREE.Box3 | undefined>;
105
105
  }
@@ -55413,6 +55413,7 @@ void main() {
55413
55413
  */
55414
55414
  async getBoundingBox() {
55415
55415
  var _a3;
55416
+ if (!this.any()) return void 0;
55416
55417
  const box = new Box3();
55417
55418
  let initialized = false;
55418
55419
  for (const obj of this._selection) {