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: fix where floating images were not positioned correctly after inserting rows in some scenarios (#6541)
wpxp12345688cb6fcca947
diff --git a/packages/sheets-drawing-ui/src/controllers/sheet-drawing-transform-affected.controller.ts b/packages/sheets-drawing-ui/src/controllers/sheet-drawing-transform-affected.controller.tsindex 6597afeeef..efc59b10ae 100644--- a/packages/sheets-drawing-ui/src/controllers/sheet-drawing-transform-affected.controller.ts+++ b/packages/sheets-drawing-ui/src/controllers/sheet-drawing-transform-affected.controller.ts@@ -1164,6 +1164,7 @@ export class SheetDrawingTransformAffectedController extends Disposable implemen});});+ this._sheetDrawingService.removeNotification(removeDrawings);this._drawingManagerService.removeNotification(removeDrawings);});}@@ -1197,6 +1198,8 @@ export class SheetDrawingTransformAffectedController extends Disposable implemen});});+ this._sheetDrawingService.removeNotification(removeDrawings);+ this._sheetDrawingService.addNotification(insertDrawings);this._drawingManagerService.removeNotification(removeDrawings);this._drawingManagerService.addNotification(insertDrawings);}, 0);@@ -1293,6 +1296,7 @@ export class SheetDrawingTransformAffectedController extends Disposable implemenreturn;}+ this._sheetDrawingService.refreshTransform(updateDrawings);this._drawingManagerService.refreshTransform(updateDrawings);this._commandService.syncExecuteCommand(ClearSheetDrawingTransformerOperation.id, [unitId]);