tetris: lower next-piece preview by another 2px
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -305,7 +305,7 @@ static void render() {
|
||||
int pcols = maxx - minx + 1;
|
||||
int prows = maxy - miny + 1;
|
||||
int nx0 = sx + ((winW - sx - 4) - pcols * pcell) / 2;
|
||||
int ny0 = boxY + (boxH - prows * pcell) / 2 + 8; // sit lower in the frame
|
||||
int ny0 = boxY + (boxH - prows * pcell) / 2 + 10; // sit lower in the frame
|
||||
XSetForeground(dpy, gc, C_HEAD);
|
||||
for (int i = 0; i < 4; i++) {
|
||||
int cx = nx0 + (nc[i][0] - minx) * pcell;
|
||||
|
||||
Reference in New Issue
Block a user