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: add actualRow and actualColumn to auto fill section (#1050)
Ran Luo0a10595a617d
diff --git a/packages/sheets-ui/src/controllers/auto-fill.controller.ts b/packages/sheets-ui/src/controllers/auto-fill.controller.tsindex c5137291b6..05eb055917 100644--- a/packages/sheets-ui/src/controllers/auto-fill.controller.ts+++ b/packages/sheets-ui/src/controllers/auto-fill.controller.ts@@ -367,6 +367,8 @@ export class AutoFillController extends Disposable {{primary: {...selection,+ actualRow: selection.startRow,+ actualColumn: selection.startColumn,endColumn: selection.startColumn,endRow: selection.startRow,},diff --git a/packages/sheets/src/commands/operations/selection.operation.ts b/packages/sheets/src/commands/operations/selection.operation.tsindex 0874f0958c..4654d729d9 100644--- a/packages/sheets/src/commands/operations/selection.operation.ts+++ b/packages/sheets/src/commands/operations/selection.operation.ts@@ -40,6 +40,7 @@ export const SetSelectionsOperation: IOperation<ISetSelectionsOperationParams> =const { selections, type } = params;selectionManagerService.replace(selections, type);+return true;},};