@univerjs/engine-render 0.12.4 → 0.13.0-insiders.20251215-64041bb

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/lib/es/index.js CHANGED
@@ -57165,10 +57165,8 @@ let Z5 = class extends Z8 {
57165
57165
  if (!n)
57166
57166
  return;
57167
57167
  }
57168
- const c = this.worksheet.getCell(t, e) || this.worksheet.getCellRaw(t, e);
57169
- if (!c) return;
57170
- const g = this.worksheet.getComposedCellStyleByCellData(t, e, c);
57171
- this._setBgStylesCache(t, e, g, a), this._setBorderStylesCache(t, e, g, a), this._setFontStylesCache(t, e, { ...c, s: g }, g);
57168
+ const c = this.worksheet.getCell(t, e) || this.worksheet.getCellRaw(t, e), g = this.worksheet.getComposedCellStyleByCellData(t, e, c);
57169
+ !c && Object.keys(g).length === 0 || (this._setBgStylesCache(t, e, g, a), this._setBorderStylesCache(t, e, g, a), this._setFontStylesCache(t, e, { ...c, s: g }, g));
57172
57170
  }
57173
57171
  /**
57174
57172
  * pro/issues/344
package/lib/index.js CHANGED
@@ -57165,10 +57165,8 @@ let Z5 = class extends Z8 {
57165
57165
  if (!n)
57166
57166
  return;
57167
57167
  }
57168
- const c = this.worksheet.getCell(t, e) || this.worksheet.getCellRaw(t, e);
57169
- if (!c) return;
57170
- const g = this.worksheet.getComposedCellStyleByCellData(t, e, c);
57171
- this._setBgStylesCache(t, e, g, a), this._setBorderStylesCache(t, e, g, a), this._setFontStylesCache(t, e, { ...c, s: g }, g);
57168
+ const c = this.worksheet.getCell(t, e) || this.worksheet.getCellRaw(t, e), g = this.worksheet.getComposedCellStyleByCellData(t, e, c);
57169
+ !c && Object.keys(g).length === 0 || (this._setBgStylesCache(t, e, g, a), this._setBorderStylesCache(t, e, g, a), this._setFontStylesCache(t, e, { ...c, s: g }, g));
57172
57170
  }
57173
57171
  /**
57174
57172
  * pro/issues/344