diff options
author | strong <372045127@qq.com> | 2021-06-13 14:42:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 14:42:09 +0800 |
commit | c62ced7ca7a6cf715f62bd10981560a809c723dd (patch) | |
tree | 8604190e4ac31794ef1c62f3dd563143b45564af /rows.go | |
parent | bffb5d6b41f409258a2f0c126a04127f31e28a06 (diff) |
fix getRowHeight actually get the height of the next row (#860)
Diffstat (limited to 'rows.go')
-rw-r--r-- | rows.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -271,7 +271,7 @@ func (f *File) getRowHeight(sheet string, row int) int { ws, _ := f.workSheetReader(sheet) for i := range ws.SheetData.Row { v := &ws.SheetData.Row[i] - if v.R == row+1 && v.Ht != 0 { + if v.R == row && v.Ht != 0 { return int(convertRowHeightToPixels(v.Ht)) } } |