Skip to content

Commit

Permalink
labels - minor sparkline adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
manishiwa committed Jul 20, 2024
1 parent 75b2298 commit 850bd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(labels)/labels/CanvasSparkline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function CanvasSparkline({ chainKey }: CanvasSparklineProps) {
if ((i === 0 || adjustedData[i - 1][1] === null) &&
(i === adjustedData.length - 1 || adjustedData[i + 1][1] === null)) {
ctx.beginPath();
ctx.arc(xCoord, yCoord, 1.5, 0, 2 * Math.PI);
ctx.arc(xCoord, yCoord, 1, 0, 2 * Math.PI);
ctx.fillStyle = i >= gradientStartIndex ? gradient : "#CDD8D3";
ctx.fill();
}
Expand Down

0 comments on commit 850bd85

Please sign in to comment.