Skip to content

Commit

Permalink
Merge pull request #105 from Panchajanya1999/main
Browse files Browse the repository at this point in the history
src/core/elements: Show the correct ranking
  • Loading branch information
JacobLinCool committed Oct 29, 2023
2 parents f7fd251 + 5f99e8c commit 9d1032d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function Username(username: string, site: string) {
export function Ranking(ranking: number) {
const item = new Item("text", {
id: "ranking",
content: "#" + (ranking >= 100000 ? "100000+" : ranking.toString()),
content: "#" + (ranking.toString()),
style: {
transform: "translate(480px, 40px)",
fill: "var(--text-1)",
Expand Down

0 comments on commit 9d1032d

Please sign in to comment.