diff options
| author | xuri <xuri.me@gmail.com> | 2021-02-08 18:05:15 +0800 |
|---|---|---|
| committer | xuri <xuri.me@gmail.com> | 2021-02-08 18:05:15 +0800 |
| commit | 30549c5e90884789fff6599d6e773d1ca56ba962 (patch) | |
| tree | f8df8c92279358fc6e3cd5ed8573bbaa794f0162 /rows.go | |
| parent | 2fb135bc94bbb0c487563d166fd24786fab7280a (diff) | |
fix custom row height check issue
Diffstat (limited to 'rows.go')
| -rw-r--r-- | rows.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -290,7 +290,7 @@ func (f *File) GetRowHeight(sheet string, row int) (float64, error) { if err != nil { return ht, err } - if ws.SheetFormatPr != nil { + if ws.SheetFormatPr != nil && ws.SheetFormatPr.CustomHeight { ht = ws.SheetFormatPr.DefaultRowHeight } if row > len(ws.SheetData.Row) { |
