Skip to content

Commit

Permalink
Merge pull request #16 from stdr-sumon/stdr-sumon-patch-1
Browse files Browse the repository at this point in the history
Update in gauge_um.go
  • Loading branch information
navidys authored Sep 17, 2023
2 parents 71c13a7 + ae559d4 commit 1f6c90c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gauge_um.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,8 @@ func (g *UtilModeGauge) getBarColor(percentage float64) tcell.Color {

return g.critColor
}

// SetEmptyColor sets empty gauge color.
func (g *UtilModeGauge) SetEmptyColor (color tcell.Color) {
g.emptyColor = color
}

0 comments on commit 1f6c90c

Please sign in to comment.