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",