Skip to content

Commit 7495f94

Browse files
author
phbalance
committed
Make path joins a bit crisper.
1 parent a0cb092 commit 7495f94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fo-tooltip.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ export class Tooltip<DatumType> {
288288
.attr("fill", this.bubbleBackground)
289289
.attr("opacity", this.bubbleOpacity)
290290
.attr("stroke", this.bubbleStroke)
291-
.attr("stroke-width", this.bubbleStrokeWidth);
291+
.attr("stroke-width", this.bubbleStrokeWidth)
292+
.attr("stroke-linecap", "square")
293+
.attr("stroke-linejoin", "miter");
292294
}
293295

294296
// Position the tooltip to keep inside the chart

0 commit comments

Comments
 (0)