@univerjs/engine-render 0.12.4-insiders.20251211-c28f914 → 0.12.4-insiders.20251212-6c41730
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/cjs/index.js +1 -1
- package/lib/es/index.js +2 -4
- package/lib/index.js +2 -4
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
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
|
-
|
|
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
|
-
|
|
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
|