removing green dot

pull/2/head
nathan wagner 2 years ago
parent a865014e49
commit be02db3b5d

@ -114,9 +114,9 @@ func (a *Animation) Next() (image.Image, <-chan time.Time, error) {
defer a.updatePosition() defer a.updatePosition()
a.ctx.SetColor(color.Black) a.ctx.SetColor(color.Black)
a.ctx.Clear() a.ctx.Clear()
a.ctx.SetColor(color.RGBA{0, 255, 0, 255}) //a.ctx.SetColor(color.RGBA{0, 255, 0, 255})
a.ctx.DrawCircle(float64(8), float64(8), float64(a.stroke)) //a.ctx.DrawCircle(float64(8), float64(8), float64(a.stroke))
a.ctx.Fill() //a.ctx.Fill()
if a.dir.X == 1 { if a.dir.X == 1 {
a.ctx.DrawImageAnchored(a.image[a.updown], a.position.X, a.position.Y, 0.5, 0.5) a.ctx.DrawImageAnchored(a.image[a.updown], a.position.X, a.position.Y, 0.5, 0.5)
} else { } else {

Loading…
Cancel
Save