Fix achievements percentage

This commit is contained in:
Simon Lecoq
2021-03-14 21:52:37 +01:00
committed by GitHub
parent 18565f33dc
commit 13385eabde

View File

@@ -24,7 +24,7 @@
<svg xmlns="http://www.w3.org/2000/svg" class="gauge info"> <svg xmlns="http://www.w3.org/2000/svg" class="gauge info">
<circle class="gauge-base" r="25" cx="28" cy="28"></circle> <circle class="gauge-base" r="25" cx="28" cy="28"></circle>
<% if ((progress)||(rank !== "X")) { %> <% 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>
<svg xmlns="http://www.w3.org/2000/svg" mask="url(#mask)"><%- icon %></svg> <svg xmlns="http://www.w3.org/2000/svg" mask="url(#mask)"><%- icon %></svg>