@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.
@@ -12125,10 +12125,10 @@ class Selection {
12125
12125
  this.panDown = null;
12126
12126
  parent.notify('transform', { prop: 'setPanMove', onPropertyChange: false,
12127
12127
  value: { point: null } });
12128
- parent.notify('transform', { prop: 'setTempPanMove', onPropertyChange: false,
12129
- value: { point: null } });
12130
12128
  }
12131
12129
  }
12130
+ parent.notify('transform', { prop: 'setTempPanMove', onPropertyChange: false,
12131
+ value: { point: null } });
12132
12132
  if (this.currentDrawingShape !== 'path') {
12133
12133
  parent.currObjType.isDragging = false;
12134
12134
  }
@@ -26051,7 +26051,7 @@ class ToolbarModule {
26051
26051
  }
26052
26052
  const fileObj = { fileName: '', fileType: '' };
26053
26053
  parent.notify('draw', { prop: 'getFileName', onPropertyChange: false, value: { obj: fileObj } });
26054
- this.fileType = fileObj['fileType'];
26054
+ this.fileType = fileObj['fileType'] ? fileObj['fileType'] : 'JPEG';
26055
26055
  parent.notify('export', { prop: 'exportToCanvas', value: { object: obj } });
26056
26056
  const tempCanvas = obj['canvas'];
26057
26057
  /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
@@ -26063,7 +26063,7 @@ class ToolbarModule {
26063
26063
  const ddbElem = document.getElementById(id + '_saveDropdownbtn');
26064
26064
  if (ddbElem) {
26065
26065
  const spanElem = document.createElement('span');
26066
- spanElem.innerHTML = fileObj['fileType'].toUpperCase();
26066
+ spanElem.innerHTML = this.fileType.toUpperCase();
26067
26067
  if (ddbElem) {
26068
26068
  ddbElem.appendChild(spanElem);
26069
26069
  }