Skip to content

Commit

Permalink
Fix achievements percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Mar 14, 2021
1 parent 18565f3 commit 13385ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/templates/classic/partials/achievements.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<svg xmlns="http://www.w3.org/2000/svg" class="gauge info">
<circle class="gauge-base" r="25" cx="28" cy="28"></circle>
<% if ((progress)||(rank !== "X")) { %>
<circle class="gauge-arc" transform="rotate(-90 28 28)" r="25" cx="28" cy="28" stroke-dasharray="<%= progress * 329 %> 329"></circle>
<circle class="gauge-arc" transform="rotate(-90 28 28)" r="25" cx="28" cy="28" stroke-dasharray="<%= progress * 155 %> 155"></circle>
<% } %>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" mask="url(#mask)"><%- icon %></svg>
Expand All @@ -47,4 +47,4 @@
</section>
</div>
</section>
<% } %>
<% } %>

0 comments on commit 13385ea

Please sign in to comment.