Fixed pixeldirt when selecting right-most paint bucket.
Also moved the paint bucket down a little, which looks better.
This commit is contained in:
parent
3a7f3ae355
commit
b39da65dcb
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
|
|
@ -5933,7 +5933,7 @@ void draw_colors(int enabled)
|
|||
if (i == cur_color && enabled)
|
||||
{
|
||||
dest.x = (i * ((WINDOW_WIDTH - 96) / NUM_COLORS)) + 96;
|
||||
dest.y = 40 + ((NUM_TOOLS / 2) * 48) + HEIGHTOFFSET;
|
||||
dest.y = 44 + ((NUM_TOOLS / 2) * 48) + HEIGHTOFFSET;
|
||||
|
||||
SDL_BlitSurface(img_paintcan, NULL, screen, &dest);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue