ebitenutil: adjust the size of the debug print text image

This commit is contained in:
Hajime Hoshi 2022-08-01 14:04:33 +09:00
parent 074d370096
commit 3d034610a9
3 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ func run() error {
lines = append(lines, line)
}
dst := image.NewRGBA(image.Rect(0, 0, charWidth*32+1, lineHeight*8+1))
dst := image.NewRGBA(image.Rect(0, 0, charWidth*32, lineHeight*8))
for i, clr := range []color.Color{color.RGBA{0, 0, 0, 0x80}, color.White} {
var offsetX int
var offsetY int

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

File diff suppressed because one or more lines are too long