Skip to content

Commit

Permalink
Fix round ranking row template
Browse files Browse the repository at this point in the history
  • Loading branch information
araszka committed Dec 1, 2024
1 parent 54d4b14 commit cf2fb60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/EvoSC/InternalModules.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static class InternalModules
typeof(ServerManagementModule),
typeof(TeamInfoModule),
typeof(TeamChatModule),
// typeof(RoundRankingModule)
typeof(RoundRankingModule)
];

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
size="{{ width-20 }} {{ height }}"
/>
<label
text="{{ checkpoint.FormattedTime() ) }}"
textprefix='{{ checkpoint.TimeDifference!=null&amp;&amp;!checkpoint.IsDNF ? "+" : "" }}'
text="{{ checkpoint.FormattedTime() }}"
textprefix='{{ checkpoint is { TimeDifference: not null, IsDNF: false } ? "+" : "" }}'
class="text-primary"
textsize="0.5"
pos="{{ width-4-(height * 1.25)-1.0 }} {{ -height/2.0 + 0.2 }}"
valign="center"
halign="right"
size="9 {{ height }}"
opacity="{{ checkpoint.TimeDifference==null&amp;&amp;!checkpoint.IsDNF ? 1.0 : 0.75 }}"
opacity="{{ checkpoint is { TimeDifference: null, IsDNF: false } ? 1.0 : 0.75 }}"
/>
<frame>
<!-- CHECKPOINT ID & GAINED POINTS BOX -->
Expand Down

0 comments on commit cf2fb60

Please sign in to comment.