@syncfusion/ej2-image-editor 21.2.3 → 21.2.5
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 +6 -2
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +6 -2
- 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 +14 -11
- package/src/image-editor/image-editor.js +6 -2
|
@@ -6753,7 +6753,9 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
6753
6753
|
var x = points.x;
|
|
6754
6754
|
var y = points.y;
|
|
6755
6755
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6756
|
-
|
|
6756
|
+
if (!isCropSelection) {
|
|
6757
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6758
|
+
}
|
|
6757
6759
|
if (isTextArea) {
|
|
6758
6760
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6759
6761
|
this.textArea.style.display = 'block';
|
|
@@ -6793,7 +6795,9 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
6793
6795
|
var x = points.x;
|
|
6794
6796
|
var y = points.y;
|
|
6795
6797
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6796
|
-
|
|
6798
|
+
if (!isCropSelection) {
|
|
6799
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6800
|
+
}
|
|
6797
6801
|
if (isTextArea) {
|
|
6798
6802
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6799
6803
|
this.textArea.style.display = 'block';
|