@inweb/viewer-three 26.5.4 → 26.6.0

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.
@@ -79561,6 +79561,7 @@ void main() {
79561
79561
  this.enableEditMode(draggerName);
79562
79562
  };
79563
79563
  this.resizeContainer = entries => {
79564
+ if (!entries || !entries[0] || !entries[0].contentRect) return;
79564
79565
  const {width: width, height: height} = entries[0].contentRect;
79565
79566
  if (!width || !height) return;
79566
79567
  if (!this._konvaStage) return;
@@ -79662,6 +79663,7 @@ void main() {
79662
79663
  });
79663
79664
  }
79664
79665
  colorizeAllMarkup(r, g, b) {
79666
+ this.setMarkupColor(r, g, b);
79665
79667
  const hexColor = new MarkupColor(r, g, b).asHex();
79666
79668
  this.getObjects().filter((obj => {
79667
79669
  var _a;