From 30549c5e90884789fff6599d6e773d1ca56ba962 Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 8 Feb 2021 18:05:15 +0800 Subject: fix custom row height check issue --- rows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rows.go') 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) { -- cgit v1.2.1