Skip to content

Commit

Permalink
Fix FlipScore not affecting TeamName and TeamIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
Coow committed Jan 18, 2024
1 parent 0e88aed commit fd5fdbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/graphics/TeamGameNoUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export function TeamGameNoUI() {
height: '100vh'
}} />

<h1 className='teamGame-teamName teamGame-leftName'>{leftName}</h1>
<h1 className='teamGame-teamName teamGame-rightName'>{rightName}</h1>
<h1 className={`teamGame-teamName ${flipScore ? 'teamGame-rightName' : 'teamGame-leftName'} `}>{leftName}</h1>
<h1 className={`teamGame-teamName ${flipScore ? 'teamGame-leftName' : 'teamGame-rightName' }`}>{rightName}</h1>

{showScore ? <div>

Expand All @@ -66,9 +66,9 @@ export function TeamGameNoUI() {
</div> : <> </>}

{showIcons ? <div>
<img src={leftSideIcon.value} className='teamGame-leftSideIcon' />
<img src={leftSideIcon.value} className={`${flipScore ? 'teamGame-rightSideIcon' : 'teamGame-leftSideIcon'} `} />

<img src={rightSideIcon.value} className='teamGame-rightSideIcon' />
<img src={rightSideIcon.value} className={`${flipScore ? 'teamGame-leftSideIcon' : 'teamGame-rightSideIcon'} `} />

</div> : <> </>}
</>
Expand Down

0 comments on commit fd5fdbb

Please sign in to comment.