@syncfusion/ej2-image-editor 26.2.10 → 26.2.14
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/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 +9 -9
- package/src/image-editor/action/selection.js +1 -1
- package/src/image-editor/base/image-editor.js +6 -1
- package/hotfix/26.1.35_Vol2.txt +0 -1
|
@@ -11922,7 +11922,7 @@ class Selection {
|
|
|
11922
11922
|
parent.objColl.splice(index, 1);
|
|
11923
11923
|
}
|
|
11924
11924
|
}
|
|
11925
|
-
else if (!isShape && activeObj.shape && (activeObj.activePoint.width !== 0 || activeObj.activePoint.height
|
|
11925
|
+
else if (!isShape && activeObj.shape && (activeObj.activePoint.width !== 0 || activeObj.activePoint.height !== 0)) {
|
|
11926
11926
|
parent.activeObj = activeObj;
|
|
11927
11927
|
const index = this.getCurrentIndex();
|
|
11928
11928
|
if (!isCropSelection) {
|
|
@@ -22580,7 +22580,12 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends Component {
|
|
|
22580
22580
|
shapeSettings.type = ShapeType.FreehandDraw;
|
|
22581
22581
|
}
|
|
22582
22582
|
const shapeChangedArgs = { action: 'apply', currentShapeSettings: extend({}, shapeSettings, {}, true) };
|
|
22583
|
-
this.
|
|
22583
|
+
if (isFinalApply || this.isShapeDrawing) {
|
|
22584
|
+
if (this.isShapeDrawing) {
|
|
22585
|
+
shapeChangedArgs.action = 'draw-end';
|
|
22586
|
+
}
|
|
22587
|
+
this.trigger('shapeChange', shapeChangedArgs);
|
|
22588
|
+
}
|
|
22584
22589
|
}
|
|
22585
22590
|
if (aspectIcon || nonAspectIcon) {
|
|
22586
22591
|
const obj = { width: null, height: null };
|