mirror of
https://github.com/dream-num/univer.git
synced 2026-09-24 15:32:18 +08:00
fix(drawing): fix the incorrect position of floating images (#6498)
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user