From ecd716204d8b877b71bdcfb7e78ae4b0954650c1 Mon Sep 17 00:00:00 2001 From: thibaud-leclere Date: Sat, 11 Apr 2026 12:53:24 +0200 Subject: [PATCH] fix: keep empty revealed cells uncolored --- assets/react/controllers/GameRow.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/react/controllers/GameRow.jsx b/assets/react/controllers/GameRow.jsx index bd3828a..9d9622a 100644 --- a/assets/react/controllers/GameRow.jsx +++ b/assets/react/controllers/GameRow.jsx @@ -57,6 +57,8 @@ export default function GameRow({ actorName, pos, colStart, totalWidth, hintType const correctLetter = ch.toUpperCase(); const revealState = !revealed || isMainActorCell ? null + : attemptedLetter === '' + ? null : attemptedLetter === correctLetter ? 'correct' : 'wrong';