fix(drawing): fix the incorrect position of floating images (#6498)

This commit is contained in:
wpxp123456
2026-01-21 20:14:38 +08:00
committed by GitHub
parent 27d08f5a51
commit af68ca8917
@@ -1225,8 +1225,8 @@ export class SheetDrawingTransformAffectedController extends Disposable implemen
const { unitId, subUnitId, worksheet } = target;
let ranges: IRange[] = [];
if ('range' in params) {
ranges = params.range as IRange[];
if ('ranges' in params) {
ranges = params.ranges;
} else if ('rowsAutoHeightInfo' in params) {
ranges = params.rowsAutoHeightInfo.map((info) => ({
startRow: info.row,