diff --git a/overlay/rootfs/usr/bin/tetris b/overlay/rootfs/usr/bin/tetris index 6edb6a0..1717ed6 100755 Binary files a/overlay/rootfs/usr/bin/tetris and b/overlay/rootfs/usr/bin/tetris differ diff --git a/prebuilt/games/usr/bin/tetris b/prebuilt/games/usr/bin/tetris index 6edb6a0..1717ed6 100755 Binary files a/prebuilt/games/usr/bin/tetris and b/prebuilt/games/usr/bin/tetris differ diff --git a/src/games/tetris.cpp b/src/games/tetris.cpp index 34f2781..85d6e70 100644 --- a/src/games/tetris.cpp +++ b/src/games/tetris.cpp @@ -289,7 +289,7 @@ static void render() { draw_text(sx, py0, 1, C_DIM, "NEXT"); // framed preview box for the next piece int boxY = py0 + 10; - int boxH = 48; + int boxH = 52; XSetForeground(dpy, gc, C_DIM); XDrawRectangle(dpy, back, gc, sx, boxY, winW - sx - 4, boxH); int nc[4][2]; @@ -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; + int ny0 = boxY + (boxH - prows * pcell) / 2 + 8; // 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;