Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
LetsWorkAround authored Aug 21, 2024
1 parent 298288a commit fb78949
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -578,12 +578,12 @@ <h3>레드판다스컴퍼니 주식회사 (Red Pandas Company)</h3>
});

// Draw legend
funds.forEach((fund, index) => {
funds.forEach((fund, fundIndex) => {
ctx.fillStyle = colors[fundIndex];
ctx.fillRect(width - 100, 20 + index * 20, 15, 15);
ctx.fillRect(width - 100, 20 + fundIndex * 20, 15, 15);
ctx.fillStyle = '#ffffff';
ctx.textAlign = 'left';
ctx.fillText(fund, width - 80, 32 + index * 20);
ctx.fillText(fund, width - 80, 32 + fundIndex * 20);
});
}

Expand Down

0 comments on commit fb78949

Please sign in to comment.