@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.
@@ -15459,10 +15459,11 @@ var Shape = /** @__PURE__ @class */ (function () {
15459
15459
  parent.activeObj.textSettings.text = text || parent.activeObj.textSettings.text;
15460
15460
  parent.activeObj.textSettings.fontFamily = fontFamily || parent.activeObj.textSettings.fontFamily;
15461
15461
  parent.activeObj.textSettings.fontSize = fontSize || parent.activeObj.textSettings.fontSize;
15462
- parent.activeObj.textSettings.bold = bold || parent.activeObj.textSettings.bold;
15463
- parent.activeObj.textSettings.italic = italic || parent.activeObj.textSettings.italic;
15464
- parent.activeObj.textSettings.underline = underline || parent.activeObj.textSettings.underline;
15465
- parent.activeObj.textSettings.strikethrough = strikethrough || parent.activeObj.textSettings.strikethrough;
15462
+ parent.activeObj.textSettings.bold = !isNullOrUndefined(bold) ? bold : parent.activeObj.textSettings.bold;
15463
+ parent.activeObj.textSettings.italic = !isNullOrUndefined(italic) ? italic : parent.activeObj.textSettings.italic;
15464
+ parent.activeObj.textSettings.underline = !isNullOrUndefined(underline) ? underline : parent.activeObj.textSettings.underline;
15465
+ parent.activeObj.textSettings.strikethrough = !isNullOrUndefined(strikethrough) ?
15466
+ strikethrough : parent.activeObj.textSettings.strikethrough;
15466
15467
  parent.activeObj.strokeSettings.outlineColor = outlineColor || parent.activeObj.strokeSettings.outlineColor;
15467
15468
  parent.activeObj.strokeSettings.outlineWidth = outlineWidth || parent.activeObj.strokeSettings.outlineWidth;
15468
15469
  };