@inweb/markup 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.
package/dist/markup.module.js
CHANGED
|
@@ -1658,6 +1658,7 @@ class KonvaMarkup {
|
|
|
1658
1658
|
this.enableEditMode(draggerName);
|
|
1659
1659
|
};
|
|
1660
1660
|
this.resizeContainer = entries => {
|
|
1661
|
+
if (!entries || !entries[0] || !entries[0].contentRect) return;
|
|
1661
1662
|
const {width: width, height: height} = entries[0].contentRect;
|
|
1662
1663
|
if (!width || !height) return;
|
|
1663
1664
|
if (!this._konvaStage) return;
|
|
@@ -1759,6 +1760,7 @@ class KonvaMarkup {
|
|
|
1759
1760
|
});
|
|
1760
1761
|
}
|
|
1761
1762
|
colorizeAllMarkup(r, g, b) {
|
|
1763
|
+
this.setMarkupColor(r, g, b);
|
|
1762
1764
|
const hexColor = new MarkupColor(r, g, b).asHex();
|
|
1763
1765
|
this.getObjects().filter((obj => {
|
|
1764
1766
|
var _a;
|