From 0f4869662c6ea6f5d4b976d5ff95b12d2f1cf198 Mon Sep 17 00:00:00 2001 From: hhvn Date: Sun, 19 Nov 2023 15:35:56 +0000 Subject: Variadic drw.Blend --- status/00-status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'status/00-status.go') diff --git a/status/00-status.go b/status/00-status.go index 6fcaf33..3543d0b 100644 --- a/status/00-status.go +++ b/status/00-status.go @@ -88,11 +88,11 @@ func sleep(s int) { } func blendGYR(percent int) color.Color { - return drw.Blend3(config.Green, config.Yellow, config.Red, percent) + return drw.Blend(percent, config.Green, config.Yellow, config.Red) } func blendBg(c color.Color) color.Color { - return drw.Blend(c, config.Status, 75) + return drw.Blend(75, c, config.Status) } func (s *status) furthest(x int) { -- cgit v1.2.3