Update 'main.go'
rgb/pipeline/head There was a failure building this commit Details

pull/2/head
nathan 2 years ago
parent e6280ab162
commit 31bfe0c0ed

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

Loading…
Cancel
Save