Skip to content

Commit

Permalink
docs(Spline): Resolve additional check error (not sure why not failin…
Browse files Browse the repository at this point in the history
…g locally)
  • Loading branch information
techniq committed Dec 15, 2024
1 parent 80f6cb6 commit ed9603b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/layerchart/src/lib/utils/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const DEFAULT_FILL = 'rgb(0, 0, 0)';
/** Render SVG path data onto canvas context. Supports CSS classes tranferring to `<canvas>` element for retrieval) */
export function renderPathData(
canvasCtx: CanvasRenderingContext2D,
pathData: string | null,
pathData: string | null | undefined,
props: { fill?: string; stroke?: string; strokeWidth?: number; class?: string } = {}
) {
// Get classes from nearest `<canvas>` element. Useful if classes are moved up from underlying component (ex. GeoPath)
Expand Down

0 comments on commit ed9603b

Please sign in to comment.