From 2c0d947df9ec181814955fef1449d9563fcf5a59 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 7 Jan 2023 15:35:21 +0000 Subject: [PATCH] attempt to set color of text to white --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index c122c69..5cac9b5 100644 --- a/main.go +++ b/main.go @@ -122,6 +122,7 @@ func (a *Animation) Next() (image.Image, <-chan time.Time, error) { } else { a.ctx.DrawImageAnchored(imaging.FlipH(a.image[a.updown]), a.position.X, a.position.Y, 0.5, 0.5) } + a.ctx.SetColor(color.White) a.ctx.DrawString("mario", 5, 5) return a.ctx.Image(), time.After(time.Millisecond * 50), nil }