examples/vector: fill the background with a solid color

This commit is contained in:
Hajime Hoshi 2022-10-18 23:45:52 +09:00
parent 6e9e57b3bd
commit e4b056bac6

View File

@ -337,7 +337,7 @@ func (g *Game) Draw(screen *ebiten.Image) {
dst = g.offscreen
}
dst.Fill(color.RGBA{0xe0, 0xe0, 0xe0, 0xe0})
dst.Fill(color.RGBA{0xe0, 0xe0, 0xe0, 0xff})
drawEbitenText(dst, 0, 50, scale, g.line)
drawEbitenLogo(dst, 20, 150, scale, g.line)
drawArc(dst, g.counter, scale, g.line)