From 64b25469ea18280667cf59f156f0e24c14d2d56f Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Tue, 19 May 2026 05:03:59 +0700 Subject: [PATCH] UI: Improve visual effect of "SoA - Flood of Poseidon" augmentation (#2781) --- src/Infiltration/ui/Cyberpunk2077Game.tsx | 42 +++++++++++++++-------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/src/Infiltration/ui/Cyberpunk2077Game.tsx b/src/Infiltration/ui/Cyberpunk2077Game.tsx index 915019953..1d8c9423c 100644 --- a/src/Infiltration/ui/Cyberpunk2077Game.tsx +++ b/src/Infiltration/ui/Cyberpunk2077Game.tsx @@ -43,7 +43,7 @@ export function Cyberpunk2077Game({ stage }: IProps): React.ReactElement { Targets:{" "} {stage.answers.map((a, i) => { - if (i == stage.currentAnswerIndex) + if (i === stage.currentAnswerIndex) return ( {a}  @@ -64,20 +64,32 @@ export function Cyberpunk2077Game({ stage }: IProps): React.ReactElement { gap: 1, }} > - {flatGrid.map((item, idx) => ( - - {item.content} - - ))} + {flatGrid.map((item, idx) => { + let borderStyle = "solid"; + let borderColor = "transparent"; + if (item.selected) { + borderColor = Settings.theme.infolight; + } else if (hasAugment && item.content === stage.answers[stage.currentAnswerIndex]) { + borderStyle = "dashed"; + borderColor = Settings.theme.warning; + } + return ( + + {item.content} + + ); + })}