@inweb/markup 26.1.3 → 26.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inweb/markup",
3
- "version": "26.1.3",
3
+ "version": "26.2.1",
4
4
  "description": "JavaScript 2D markups",
5
5
  "homepage": "https://cloud.opendesign.com/docs/index.html",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -26,8 +26,8 @@
26
26
  "docs": "typedoc"
27
27
  },
28
28
  "dependencies": {
29
- "@inweb/eventemitter2": "~26.1.3",
30
- "@inweb/viewer-core": "~26.1.3"
29
+ "@inweb/eventemitter2": "~26.2.1",
30
+ "@inweb/viewer-core": "~26.2.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "konva": "^9.3.18"
@@ -245,7 +245,7 @@ export class KonvaMarkup implements IMarkup {
245
245
 
246
246
  setMarkupColor(r: number, g: number, b: number): void {
247
247
  this._markupColor.setColor(r, g, b);
248
- this._viewer.emit({ type: "changemarkupcolor", data: { r, g, b } });
248
+ this.redirectToViewer({ type: "changemarkupcolor", data: { r, g, b } });
249
249
  }
250
250
 
251
251
  colorizeAllMarkup(r: number, g: number, b: number): void {