summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rows.go b/rows.go
index 702d8f5..75bea47 100644
--- a/rows.go
+++ b/rows.go
@@ -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) {