diff --git a/gauge_um.go b/gauge_um.go index 4526ea9..ec24bfa 100644 --- a/gauge_um.go +++ b/gauge_um.go @@ -89,11 +89,6 @@ func (g *UtilModeGauge) SetValue(value float64) { } } -// SetEmptyColor sets empty gauge color. -func (g *UtilModeGauge) SetEmptyColor (color tcell.Color) { - g.emptyColor = color -} - // GetValue returns current gauge value. func (g *UtilModeGauge) GetValue() float64 { return g.pc @@ -157,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 +}