missing commas

This commit is contained in:
potassium 2024-05-01 16:05:20 +03:00
parent 303bd59901
commit b4a0a68a1c

View File

@ -91,31 +91,31 @@ func (p pair) At(x, y int) color.Color {
) )
case Up: case Up:
draw.Draw( draw.Draw(
rgbaImg, rgbaImg.Bounds() rgbaImg, rgbaImg.Bounds(),
p.first, p.first,
image.ZP, draw.Src image.ZP, draw.Src,
) )
draw.Draw( draw.Draw(
rgbaImg, p.Bounds(), rgbaImg, p.Bounds(),
p.second, p.second,
image.Point{ image.Point{
0, 0,
p.first.Bounds().Dy() p.first.Bounds().Dy(),
}, },
draw.Src, draw.Src,
) )
case Down: case Down:
draw.Draw( draw.Draw(
rgbaImg, rgbaImg.Bounds() rgbaImg, rgbaImg.Bounds(),
p.second, p.second,
image.ZP, draw.Src image.ZP, draw.Src,
) )
draw.Draw( draw.Draw(
rgbaImg, p.Bounds(), rgbaImg, p.Bounds(),
p.first, p.first,
image.Point{ image.Point{
0, 0,
p.second.Bounds().Dy() p.second.Bounds().Dy(),
}, },
draw.Src, draw.Src,
) )