fix: fix lint
This commit is contained in:
parent
da3ad16c23
commit
f1276067d7
3 changed files with 7 additions and 6 deletions
4
table.go
4
table.go
|
|
@ -321,10 +321,6 @@ func (t *tableChart) Render() (Box, error) {
|
|||
if !opt.BackgroundColor.IsZero() {
|
||||
p.SetBackground(p.Width(), p.Height(), opt.BackgroundColor)
|
||||
}
|
||||
headerBGColor := opt.HeaderBackgroundColor
|
||||
if headerBGColor.IsZero() {
|
||||
headerBGColor = tableDefaultSetting.HeaderColor
|
||||
}
|
||||
if opt.Font == nil && opt.FontFamily != "" {
|
||||
opt.Font, _ = GetFont(opt.FontFamily)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue