lower maybe
rgb/pipeline/head This commit looks good Details

pull/2/head
Nathan 2 years ago
parent 4b5bd1fe32
commit 4a22b0f193

@ -123,7 +123,7 @@ func (a *Animation) Next() (image.Image, <-chan time.Time, error) {
a.ctx.DrawImageAnchored(imaging.FlipH(a.image[a.updown]), a.position.X, a.position.Y, 0.5, 0.5) 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.SetColor(color.White)
a.ctx.DrawString("mario", 5, 5) a.ctx.DrawString("mario", 5, 7)
return a.ctx.Image(), time.After(time.Millisecond * 50), nil return a.ctx.Image(), time.After(time.Millisecond * 50), nil
} }

Loading…
Cancel
Save