@syncfusion/ej2-image-editor 21.2.3 → 21.2.6
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 +16 -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 -2
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +7 -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 +7 -2
|
@@ -3399,6 +3399,7 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
3399
3399
|
this.pointColl = [];
|
|
3400
3400
|
this.freehandCounter = 0;
|
|
3401
3401
|
this.objColl.push(this.currSelectionPoint);
|
|
3402
|
+
this.currSelectionPoint = null;
|
|
3402
3403
|
this.zoomAction(this.cropObj.cropZoom);
|
|
3403
3404
|
this.currSelectionPoint = extend({}, this.objColl[0], null, true);
|
|
3404
3405
|
this.objColl = cropObjColl_1;
|
|
@@ -6753,7 +6754,9 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
6753
6754
|
var x = points.x;
|
|
6754
6755
|
var y = points.y;
|
|
6755
6756
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6756
|
-
|
|
6757
|
+
if (!isCropSelection) {
|
|
6758
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6759
|
+
}
|
|
6757
6760
|
if (isTextArea) {
|
|
6758
6761
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6759
6762
|
this.textArea.style.display = 'block';
|
|
@@ -6793,7 +6796,9 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
6793
6796
|
var x = points.x;
|
|
6794
6797
|
var y = points.y;
|
|
6795
6798
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6796
|
-
|
|
6799
|
+
if (!isCropSelection) {
|
|
6800
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6801
|
+
}
|
|
6797
6802
|
if (isTextArea) {
|
|
6798
6803
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6799
6804
|
this.textArea.style.display = 'block';
|