vim-web 0.3.44-dev.32 → 0.3.44-dev.33

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.
@@ -23,6 +23,10 @@ export declare class SectionBox {
23
23
  set interactive(value: boolean);
24
24
  get clip(): boolean;
25
25
  set clip(value: boolean);
26
+ /**
27
+ * Fits the given box, invalid dimensions will be reversed.
28
+ * @param box - The new bounding box.
29
+ */
26
30
  fitBox(box: Box3): void;
27
31
  getBox(): Box3;
28
32
  dispose(): void;
@@ -61911,7 +61911,12 @@ Averrage Date/Second ${avgDataRatePS} kb
61911
61911
  this._clip = value;
61912
61912
  this.scheduleUpdate();
61913
61913
  }
61914
+ /**
61915
+ * Fits the given box, invalid dimensions will be reversed.
61916
+ * @param box - The new bounding box.
61917
+ */
61914
61918
  fitBox(box) {
61919
+ box = safeBox(box);
61915
61920
  this._box = box;
61916
61921
  this.scheduleUpdate();
61917
61922
  }