@syncfusion/ej2-image-editor 22.2.5 → 22.2.9
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/CHANGELOG.md +8 -0
- package/dist/ej2-image-editor.umd.min.js +2 -2
- package/dist/ej2-image-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-image-editor.es2015.js +7 -5
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +7 -5
- package/dist/es6/ej2-image-editor.es5.js.map +1 -1
- package/dist/global/ej2-image-editor.min.js +2 -2
- package/dist/global/ej2-image-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/image-editor/action/selection.js +6 -5
- package/src/image-editor/action/shape.js +1 -0
|
@@ -9703,17 +9703,18 @@ class Selection {
|
|
|
9703
9703
|
parent.activeObj = extend({}, activeObj, null, true);
|
|
9704
9704
|
parent.textArea.value = obj.keyHistory;
|
|
9705
9705
|
parent.textArea.style.display = 'block';
|
|
9706
|
-
let strokeColor = obj.strokeSettings.strokeColor.split('(')[0] === 'rgb' ?
|
|
9706
|
+
let strokeColor = obj.strokeSettings && obj.strokeSettings.strokeColor ? obj.strokeSettings.strokeColor.split('(')[0] === 'rgb' ?
|
|
9707
9707
|
this.rgbToHex(parseFloat(obj.strokeSettings.strokeColor.split('(')[1].split(',')[0]), parseFloat(obj.strokeSettings.strokeColor.split('(')[1].split(',')[1]), parseFloat(obj.strokeSettings.strokeColor.split('(')[1].split(',')[2])) :
|
|
9708
|
-
obj.strokeSettings.strokeColor;
|
|
9709
|
-
if (strokeColor === '#ffffff') {
|
|
9708
|
+
obj.strokeSettings.strokeColor : null;
|
|
9709
|
+
if (strokeColor && strokeColor === '#ffffff') {
|
|
9710
9710
|
strokeColor = '#fff';
|
|
9711
9711
|
}
|
|
9712
|
-
if (this.tempActiveObj.strokeSettings.strokeColor
|
|
9712
|
+
if (this.tempActiveObj.strokeSettings && this.tempActiveObj.strokeSettings.strokeColor &&
|
|
9713
|
+
this.tempActiveObj.strokeSettings.strokeColor === '#ffffff') {
|
|
9713
9714
|
this.tempActiveObj.strokeSettings.strokeColor = '#fff';
|
|
9714
9715
|
}
|
|
9715
9716
|
if (obj.keyHistory !== this.tempActiveObj.keyHistory ||
|
|
9716
|
-
strokeColor !== this.tempActiveObj.strokeSettings.strokeColor ||
|
|
9717
|
+
(strokeColor && (strokeColor !== this.tempActiveObj.strokeSettings.strokeColor)) ||
|
|
9717
9718
|
obj.textSettings.fontFamily !== this.tempActiveObj.textSettings.fontFamily ||
|
|
9718
9719
|
Math.round(obj.textSettings.fontSize) !== Math.round(this.tempActiveObj.textSettings.fontSize) ||
|
|
9719
9720
|
Math.round(obj.textSettings.fontRatio) !== Math.round(this.tempActiveObj.textSettings.fontRatio) ||
|
|
@@ -11392,6 +11393,7 @@ class Shape {
|
|
|
11392
11393
|
parent.textArea.style.transform = '';
|
|
11393
11394
|
parent.notify('toolbar', { prop: 'refresh-main-toolbar', onPropertyChange: false });
|
|
11394
11395
|
}
|
|
11396
|
+
this.refreshActiveObj();
|
|
11395
11397
|
}
|
|
11396
11398
|
else {
|
|
11397
11399
|
this.applyActObj(isMouseDown);
|