attempt to set color of text to white
Some checks failed
rgb/pipeline/head There was a failure building this commit

This commit is contained in:
Nathan
2023-01-07 15:35:21 +00:00
parent 7b1f555128
commit 2c0d947df9

View File

@@ -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
}