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.
package/dist/vim-web.js CHANGED
@@ -61895,7 +61895,12 @@ class SectionBox2 {
61895
61895
  this._clip = value;
61896
61896
  this.scheduleUpdate();
61897
61897
  }
61898
+ /**
61899
+ * Fits the given box, invalid dimensions will be reversed.
61900
+ * @param box - The new bounding box.
61901
+ */
61898
61902
  fitBox(box) {
61903
+ box = safeBox(box);
61899
61904
  this._box = box;
61900
61905
  this.scheduleUpdate();
61901
61906
  }