Skip to content

Commit

Permalink
Fix broken priority labels on "VS"
Browse files Browse the repository at this point in the history
Fixes #303
  • Loading branch information
noahm committed Feb 26, 2024
1 parent 34cf1ba commit 42d02f1
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions src/tournament-mode/drawing-labels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,25 @@ function Versus() {
return (
<div className={styles.versus} onClick={ipp}>
<Icon
icon={<CaretLeft />}
style={{
visibility: priorityPlayer === 1 ? "visible" : "hidden",
verticalAlign: "middle",
}}
icon={
<CaretLeft
style={{
visibility: priorityPlayer === 1 ? "visible" : "hidden",
verticalAlign: "middle",
}}
/>
}
/>
{" vs "}
<Icon
icon={<CaretRight />}
style={{
visibility: priorityPlayer === 2 ? "visible" : "hidden",
verticalAlign: "middle",
}}
icon={
<CaretRight
style={{
visibility: priorityPlayer === 2 ? "visible" : "hidden",
verticalAlign: "middle",
}}
/>
}
/>
</div>
);
Expand Down

0 comments on commit 42d02f1

Please sign in to comment.