@inweb/markup 26.2.0 → 26.2.2

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/markup.js CHANGED
@@ -13073,7 +13073,7 @@
13073
13073
  }
13074
13074
  setMarkupColor(r, g, b) {
13075
13075
  this._markupColor.setColor(r, g, b);
13076
- this._viewer.emit({ type: "changemarkupcolor", data: { r, g, b } });
13076
+ this.redirectToViewer({ type: "changemarkupcolor", data: { r, g, b } });
13077
13077
  }
13078
13078
  colorizeAllMarkup(r, g, b) {
13079
13079
  const hexColor = new MarkupColor(r, g, b).asHex();