@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
|
@@ -6708,7 +6708,9 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends Component {
|
|
|
6708
6708
|
const x = points.x;
|
|
6709
6709
|
const y = points.y;
|
|
6710
6710
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6711
|
-
|
|
6711
|
+
if (!isCropSelection) {
|
|
6712
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6713
|
+
}
|
|
6712
6714
|
if (isTextArea) {
|
|
6713
6715
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6714
6716
|
this.textArea.style.display = 'block';
|
|
@@ -6748,7 +6750,9 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends Component {
|
|
|
6748
6750
|
const x = points.x;
|
|
6749
6751
|
const y = points.y;
|
|
6750
6752
|
isShape = this.findTargetObj(x, y, isCropSelection);
|
|
6751
|
-
|
|
6753
|
+
if (!isCropSelection) {
|
|
6754
|
+
this.upperContext.clearRect(0, 0, this.upperCanvas.width, this.upperCanvas.height);
|
|
6755
|
+
}
|
|
6752
6756
|
if (isTextArea) {
|
|
6753
6757
|
this.textArea.value = this.objColl[this.objColl.length - 1].keyHistory;
|
|
6754
6758
|
this.textArea.style.display = 'block';
|