diff options
author | xuri <xuri.me@gmail.com> | 2020-10-18 00:01:33 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-10-18 00:01:33 +0800 |
commit | 520aa679f34bafbc00626151075b0b123eceb516 (patch) | |
tree | 532b53262f78f27351ea9647d9ec09c820b38b6f /shape.go | |
parent | 02530e8c8ad94308458a33ac694e6ac9d3af4c87 (diff) |
Fix #706, #713 improve AddPicture performance, fix missing worksheet when rename with same names
Diffstat (limited to 'shape.go')
-rw-r--r-- | shape.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -324,7 +324,7 @@ func (f *File) addDrawingShape(sheet, drawingXML, cell string, formatSet *format width := int(float64(formatSet.Width) * formatSet.Format.XScale) height := int(float64(formatSet.Height) * formatSet.Format.YScale) - colStart, rowStart, _, _, colEnd, rowEnd, x2, y2 := + colStart, rowStart, colEnd, rowEnd, x2, y2 := f.positionObjectPixels(sheet, colIdx, rowIdx, formatSet.Format.OffsetX, formatSet.Format.OffsetY, width, height) content, cNvPrID := f.drawingParser(drawingXML) |