diff options
author | nabeyama yoshihide <yoshihide.nabeyama@gmail.com> | 2019-04-04 17:04:10 +0900 |
---|---|---|
committer | nabeyama yoshihide <yoshihide.nabeyama@gmail.com> | 2019-04-04 17:04:10 +0900 |
commit | 28c02e3aaf585037f7d9035c21901844bdda91a2 (patch) | |
tree | d3d3c085efc86616a80ba53ff26f1662f957073f | |
parent | eca66180f191ba1209e5d50859be51eec7954281 (diff) |
Fixed bug in column cell to check.
The target cell for calclator the width was shifted by 1.
-rw-r--r-- | col.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -268,7 +268,7 @@ func (f *File) positionObjectPixels(sheet string, col, row, x1, y1, width, heigh height += y1 // Subtract the underlying cell widths to find end cell of the object. - for width >= f.getColWidth(sheet, colEnd) { + for width >= f.getColWidth(sheet, colEnd + 1) { colEnd++ width -= f.getColWidth(sheet, colEnd) } |