@syncfusion/ej2-image-editor 26.2.9 → 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 +12 -12
- 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
|
@@ -11974,7 +11974,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
11974
11974
|
parent.objColl.splice(index, 1);
|
|
11975
11975
|
}
|
|
11976
11976
|
}
|
|
11977
|
-
else if (!isShape && activeObj.shape && (activeObj.activePoint.width !== 0 || activeObj.activePoint.height
|
|
11977
|
+
else if (!isShape && activeObj.shape && (activeObj.activePoint.width !== 0 || activeObj.activePoint.height !== 0)) {
|
|
11978
11978
|
parent.activeObj = activeObj;
|
|
11979
11979
|
var index = this.getCurrentIndex();
|
|
11980
11980
|
if (!isCropSelection) {
|
|
@@ -22676,7 +22676,12 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
22676
22676
|
shapeSettings.type = ShapeType.FreehandDraw;
|
|
22677
22677
|
}
|
|
22678
22678
|
var shapeChangedArgs = { action: 'apply', currentShapeSettings: extend({}, shapeSettings, {}, true) };
|
|
22679
|
-
this.
|
|
22679
|
+
if (isFinalApply || this.isShapeDrawing) {
|
|
22680
|
+
if (this.isShapeDrawing) {
|
|
22681
|
+
shapeChangedArgs.action = 'draw-end';
|
|
22682
|
+
}
|
|
22683
|
+
this.trigger('shapeChange', shapeChangedArgs);
|
|
22684
|
+
}
|
|
22680
22685
|
}
|
|
22681
22686
|
if (aspectIcon || nonAspectIcon) {
|
|
22682
22687
|
var obj_2 = { width: null, height: null };
|