diff options
author | xuri <xuri.me@gmail.com> | 2021-07-06 00:31:04 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-07-06 00:31:04 +0800 |
commit | b7fece51736977e7d84aca30ecce7f6b3a1251f2 (patch) | |
tree | 77c730b216adbdf54b1b5c3542478bfcb2e5c61b /rows.go | |
parent | 544ef18a8cb9949fcb8833c6d2816783c90f3318 (diff) |
Support concurrency add picture
Diffstat (limited to 'rows.go')
-rw-r--r-- | rows.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -272,6 +272,8 @@ func (f *File) SetRowHeight(sheet string, row int, height float64) error { // name and row number. func (f *File) getRowHeight(sheet string, row int) int { ws, _ := f.workSheetReader(sheet) + ws.Lock() + defer ws.Unlock() for i := range ws.SheetData.Row { v := &ws.SheetData.Row[i] if v.R == row && v.Ht != 0 { |