@syncfusion/ej2-image-editor 31.2.5 → 31.2.12

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.
@@ -15385,10 +15385,11 @@ class Shape {
15385
15385
  parent.activeObj.textSettings.text = text || parent.activeObj.textSettings.text;
15386
15386
  parent.activeObj.textSettings.fontFamily = fontFamily || parent.activeObj.textSettings.fontFamily;
15387
15387
  parent.activeObj.textSettings.fontSize = fontSize || parent.activeObj.textSettings.fontSize;
15388
- parent.activeObj.textSettings.bold = bold || parent.activeObj.textSettings.bold;
15389
- parent.activeObj.textSettings.italic = italic || parent.activeObj.textSettings.italic;
15390
- parent.activeObj.textSettings.underline = underline || parent.activeObj.textSettings.underline;
15391
- parent.activeObj.textSettings.strikethrough = strikethrough || parent.activeObj.textSettings.strikethrough;
15388
+ parent.activeObj.textSettings.bold = !isNullOrUndefined(bold) ? bold : parent.activeObj.textSettings.bold;
15389
+ parent.activeObj.textSettings.italic = !isNullOrUndefined(italic) ? italic : parent.activeObj.textSettings.italic;
15390
+ parent.activeObj.textSettings.underline = !isNullOrUndefined(underline) ? underline : parent.activeObj.textSettings.underline;
15391
+ parent.activeObj.textSettings.strikethrough = !isNullOrUndefined(strikethrough) ?
15392
+ strikethrough : parent.activeObj.textSettings.strikethrough;
15392
15393
  parent.activeObj.strokeSettings.outlineColor = outlineColor || parent.activeObj.strokeSettings.outlineColor;
15393
15394
  parent.activeObj.strokeSettings.outlineWidth = outlineWidth || parent.activeObj.strokeSettings.outlineWidth;
15394
15395
  }