diff options
author | nabeyama yoshihide <yoshihide.nabeyama@gmail.com> | 2019-04-04 17:26:26 +0900 |
---|---|---|
committer | nabeyama yoshihide <yoshihide.nabeyama@gmail.com> | 2019-04-04 17:26:26 +0900 |
commit | b0acd922ef9e4874eeadd905a636ebc911b1b299 (patch) | |
tree | 0d001bd56dce6bac06ea28390224608910e9f9a9 /col.go | |
parent | 28c02e3aaf585037f7d9035c21901844bdda91a2 (diff) |
Fixed bug in the calculation target cell(row).
The target cell for calclator the height was shifted by 1.
Diffstat (limited to 'col.go')
-rw-r--r-- | col.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -275,8 +275,8 @@ func (f *File) positionObjectPixels(sheet string, col, row, x1, y1, width, heigh // Subtract the underlying cell heights to find end cell of the object. for height >= f.getRowHeight(sheet, rowEnd) { - rowEnd++ height -= f.getRowHeight(sheet, rowEnd) + rowEnd++ } // The end vertices are whatever is left from the width and height. |