mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Patch from Mark Wooding: one-pixel fix to the alignment of the
bottom and right edges of the Tents keyboard cursor. [originally from svn r8598]
This commit is contained in:
3
tents.c
3
tents.c
@ -1954,7 +1954,8 @@ static void draw_tile(drawing *dr, game_drawstate *ds,
|
|||||||
if (cur) {
|
if (cur) {
|
||||||
int coff = TILESIZE/8;
|
int coff = TILESIZE/8;
|
||||||
draw_rect_outline(dr, tx + coff, ty + coff,
|
draw_rect_outline(dr, tx + coff, ty + coff,
|
||||||
TILESIZE - coff*2, TILESIZE - coff*2, COL_GRID);
|
TILESIZE - coff*2 + 1, TILESIZE - coff*2 + 1,
|
||||||
|
COL_GRID);
|
||||||
}
|
}
|
||||||
|
|
||||||
unclip(dr);
|
unclip(dr);
|
||||||
|
Reference in New Issue
Block a user