@syncfusion/ej2-image-editor 26.2.4 → 26.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.
@@ -12177,10 +12177,10 @@ var Selection = /** @__PURE__ @class */ (function () {
12177
12177
  this.panDown = null;
12178
12178
  parent.notify('transform', { prop: 'setPanMove', onPropertyChange: false,
12179
12179
  value: { point: null } });
12180
- parent.notify('transform', { prop: 'setTempPanMove', onPropertyChange: false,
12181
- value: { point: null } });
12182
12180
  }
12183
12181
  }
12182
+ parent.notify('transform', { prop: 'setTempPanMove', onPropertyChange: false,
12183
+ value: { point: null } });
12184
12184
  if (this.currentDrawingShape !== 'path') {
12185
12185
  parent.currObjType.isDragging = false;
12186
12186
  }
@@ -26158,7 +26158,7 @@ var ToolbarModule = /** @__PURE__ @class */ (function () {
26158
26158
  }
26159
26159
  var fileObj = { fileName: '', fileType: '' };
26160
26160
  parent.notify('draw', { prop: 'getFileName', onPropertyChange: false, value: { obj: fileObj } });
26161
- this.fileType = fileObj['fileType'];
26161
+ this.fileType = fileObj['fileType'] ? fileObj['fileType'] : 'JPEG';
26162
26162
  parent.notify('export', { prop: 'exportToCanvas', value: { object: obj } });
26163
26163
  var tempCanvas = obj['canvas'];
26164
26164
  /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
@@ -26170,7 +26170,7 @@ var ToolbarModule = /** @__PURE__ @class */ (function () {
26170
26170
  var ddbElem = document.getElementById(id + '_saveDropdownbtn');
26171
26171
  if (ddbElem) {
26172
26172
  var spanElem_1 = document.createElement('span');
26173
- spanElem_1.innerHTML = fileObj['fileType'].toUpperCase();
26173
+ spanElem_1.innerHTML = this.fileType.toUpperCase();
26174
26174
  if (ddbElem) {
26175
26175
  ddbElem.appendChild(spanElem_1);
26176
26176
  }