@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
|
@@ -3360,6 +3360,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends Component {
|
|
|
3360
3360
|
this.pointColl = [];
|
|
3361
3361
|
this.freehandCounter = 0;
|
|
3362
3362
|
this.objColl.push(this.currSelectionPoint);
|
|
3363
|
+
this.currSelectionPoint = null;
|
|
3363
3364
|
this.zoomAction(this.cropObj.cropZoom);
|
|
3364
3365
|
this.currSelectionPoint = extend({}, this.objColl[0], null, true);
|
|
3365
3366
|
this.objColl = cropObjColl;
|
|
@@ -6708,7 +6709,9 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends Component {
|
|
|
6708
6709
|
const x = points.x;
|
|
6709
6710
|
const y = points.y;
|
|
6710
6711
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6711
|
-
|
|
6712
|
+
if (!isCropSelection) {
|
|
6713
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6714
|
+
}
|
|
6712
6715
|
if (isTextArea) {
|
|
6713
6716
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6714
6717
|
this.textArea.style.display = 'block';
|
|
@@ -6748,7 +6751,9 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends Component {
|
|
|
6748
6751
|
const x = points.x;
|
|
6749
6752
|
const y = points.y;
|
|
6750
6753
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6751
|
-
|
|
6754
|
+
if (!isCropSelection) {
|
|
6755
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6756
|
+
}
|
|
6752
6757
|
if (isTextArea) {
|
|
6753
6758
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6754
6759
|
this.textArea.style.display = 'block';
|