From 08f3b9022868109f461ddf127d202a2b2fbea23e Mon Sep 17 00:00:00 2001 From: Luxferre Date: Fri, 23 Oct 2026 19:35:00 +0300 Subject: [PATCH] tetris: lower next-piece preview by another 2px --- overlay/rootfs/usr/bin/tetris | Bin 13668 -> 13668 bytes prebuilt/games/usr/bin/tetris | Bin 13668 -> 13668 bytes src/games/tetris.cpp | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/rootfs/usr/bin/tetris b/overlay/rootfs/usr/bin/tetris index 1717ed62c3746e0ada3f0e0d739ecedb5b0e79ea..d428f41882fed0d079c8a92ca7836b1d718bfa56 100755 GIT binary patch delta 40 ycmV+@0N4NIYUFCLWC0Yz6i%?n_0K2tj&3X@%F6#H&Qt5NcmdKM0Zg+?AsG~`Ruc&T delta 40 wcmaEo^(1RU3Zsa$zxDJWacS+Yn%W!O*^duaRBXJqxq|VMJfqiUZ$(KF0AJ1!Q2+n{ diff --git a/prebuilt/games/usr/bin/tetris b/prebuilt/games/usr/bin/tetris index 1717ed62c3746e0ada3f0e0d739ecedb5b0e79ea..d428f41882fed0d079c8a92ca7836b1d718bfa56 100755 GIT binary patch delta 40 ycmV+@0N4NIYUFCLWC0Yz6i%?n_0K2tj&3X@%F6#H&Qt5NcmdKM0Zg+?AsG~`Ruc&T delta 40 wcmaEo^(1RU3Zsa$zxDJWacS+Yn%W!O*^duaRBXJqxq|VMJfqiUZ$(KF0AJ1!Q2+n{ diff --git a/src/games/tetris.cpp b/src/games/tetris.cpp index 85d6e70..1710c22 100644 --- a/src/games/tetris.cpp +++ b/src/games/tetris.cpp @@ -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;