tetris: lower next-piece preview by another 2px

This commit is contained in:
Luxferre
2026-10-23 19:35:00 +03:00
parent f52b59fd0a
commit 08f3b90228
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -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;