Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(filter): fix filter button style not effect range theme (#5695)
VicKun2336c6d326be
diff --git a/packages/sheets-filter-ui/src/views/render-modules/sheets-filter.render-controller.ts b/packages/sheets-filter-ui/src/views/render-modules/sheets-filter.render-controller.tsindex 9247ceb7a6..9c4a03f7e6 100644--- a/packages/sheets-filter-ui/src/views/render-modules/sheets-filter.render-controller.ts+++ b/packages/sheets-filter-ui/src/views/render-modules/sheets-filter.render-controller.ts@@ -166,7 +166,7 @@ export class SheetsFilterRenderController extends RxDisposable implements IRendefor (let col = startColumn; col <= endColumn; col++) {const key = `sheets-filter-button-${col}`;const startPosition = getCoordByCell(startRow, col, scene, skeleton);- const cellStyle = worksheet.getCellStyle(startRow, col);+ const cellStyle = worksheet.getComposedCellStyle(startRow, col);const verticalAlign = cellStyle?.vt || VerticalAlign.BOTTOM;const { startX, startY, endX, endY } = startPosition;