From e2d3cf865623618178e416dddcc5845ebe8bb3e8 Mon Sep 17 00:00:00 2001 From: seveibar Date: Wed, 12 Aug 2026 12:11:08 -0700 Subject: [PATCH] Render solver lines with round joins --- lib/react/SimpleGraphicsSVG.tsx | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/react/SimpleGraphicsSVG.tsx b/lib/react/SimpleGraphicsSVG.tsx index 3a73f9f..36a16f3 100644 --- a/lib/react/SimpleGraphicsSVG.tsx +++ b/lib/react/SimpleGraphicsSVG.tsx @@ -89,6 +89,7 @@ export function SimpleGraphicsSVG({ graphics }: { graphics: GraphicsObject }) { fill="none" stroke={l.strokeColor ?? "black"} strokeWidth={l.strokeWidth ?? 1} + strokeLinejoin="round" points={(l.points ?? []) .map((p: any) => `${p.x ?? 0},${p.y ?? 0}`) .join(" ")} diff --git a/package.json b/package.json index 2976e5a..a9bd2ad 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@react-hook/resize-observer": "^2.0.2", "@types/bun": "latest", "@types/react": "^19.1.13", - "graphics-debug": "^0.0.76", + "graphics-debug": "0.0.99", "react": "^19.1.1", "react-cosmos": "^7.0.0", "react-cosmos-plugin-vite": "^7.0.0",