@inweb/viewer-visualize 26.5.5 → 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.
@@ -18107,6 +18107,7 @@
18107
18107
  this.enableEditMode(draggerName);
18108
18108
  };
18109
18109
  this.resizeContainer = entries => {
18110
+ if (!entries || !entries[0] || !entries[0].contentRect) return;
18110
18111
  const {width: width, height: height} = entries[0].contentRect;
18111
18112
  if (!width || !height) return;
18112
18113
  if (!this._konvaStage) return;
@@ -18208,6 +18209,7 @@
18208
18209
  });
18209
18210
  }
18210
18211
  colorizeAllMarkup(r, g, b) {
18212
+ this.setMarkupColor(r, g, b);
18211
18213
  const hexColor = new MarkupColor(r, g, b).asHex();
18212
18214
  this.getObjects().filter((obj => {
18213
18215
  var _a;