Skip to content

Commit

Permalink
Fix leader background bug (#122)
Browse files Browse the repository at this point in the history
The leader area background no longer turns gray when the leader unit is
exhausted

Co-authored-by: Dan Bastin <[email protected]>
  • Loading branch information
Trys2Hard and danbastin authored Feb 23, 2025
1 parent c3343f3 commit 87f85d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const LeaderBaseCard: React.FC<ILeaderBaseCardProps> = ({
position: 'absolute',
height: '100%',
width: '100%',
backgroundColor: card.exhausted ? 'rgba(0, 0, 0, 0.5)' : 'transparent',
backgroundColor: card.exhausted && !isDeployed ? 'rgba(0, 0, 0, 0.5)' : 'transparent',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
Expand Down

0 comments on commit 87f85d0

Please sign in to comment.