Skip to content

Commit

Permalink
fix: setStyleCell(), setStyleCellRange override cell style
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtwinkle committed Aug 22, 2022
1 parent 3c8b122 commit 924a730
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion excelizeam.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ func (e *excelizeam) setStyleCell(colIndex, rowIndex int, style excelize.Style,
}
c.StyleID = styleID
}
return nil
}

styleID, err := e.getStyleID(&style)
Expand Down Expand Up @@ -309,7 +310,7 @@ func (e *excelizeam) setStyleCellRange(startColIndex, startRowIndex, endColIndex
}
c.StyleID = styleID
}
return nil
continue
}
styleID, err := e.getStyleID(&style)
if err != nil {
Expand Down

0 comments on commit 924a730

Please sign in to comment.