From 31bfe0c0eda0cee4d2b0aebe2d79182d376fe767 Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 17 Dec 2022 06:03:24 +0000 Subject: [PATCH] Update 'main.go' --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d81d50d..da943b6 100644 --- a/main.go +++ b/main.go @@ -122,7 +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.DrawStringAnchored("mario", a.position.X, a.position.Y, 0.5, 0.5) + a.ctx.DrawString("mario", a.position.X, a.position.Y) return a.ctx.Image(), time.After(time.Millisecond * 50), nil }