Skip to content

Commit 37bbee5

Browse files
committed
style: unify highlighted colors
1 parent c3d2015 commit 37bbee5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/Chart.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,10 @@
470470
ctx.lineTo(width, y);
471471
drawText(ctx, (i * interval).toLocaleString(), 0, y - 2, 0, Align.left, Align.bottom);
472472
}
473+
ctx.stroke();
474+
ctx.beginPath();
473475
if (mousePosition !== null) {
476+
ctx.fillStyle = '#000';
474477
ctx.strokeStyle = '#eee';
475478
const y = mousePosition.y;
476479
const value = y2value(y);

0 commit comments

Comments
 (0)