Skip to content

Commit

Permalink
Theme - Fix lint failure due to functions that ended up not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
jentfoo committed Mar 9, 2024
1 parent 1d48db6 commit 57c9f2d
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,26 +320,6 @@ func (t *themeColorPalette) GetSeriesColor(index int) Color {
}
}

func maxVal(c Color) uint8 {
if c.R >= c.G && c.R >= c.B {
return c.R
} else if c.G >= c.R && c.G >= c.B {
return c.G
} else {
return c.B
}
}

func minVal(c Color) uint8 {
if c.R <= c.G && c.R <= c.B {
return c.R
} else if c.G <= c.R && c.G <= c.B {
return c.G
} else {
return c.B
}
}

func (t *themeColorPalette) GetBackgroundColor() Color {
return t.backgroundColor
}
Expand Down

0 comments on commit 57c9f2d

Please sign in to comment.