Skip to content

Commit 95c3006

Browse files
committed
default to transparent stroke for circles
1 parent 23e7df7 commit 95c3006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/drawGraphicsToCanvas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export function drawGraphicsToCanvas(
207207
}
208208

209209
if (circle.stroke) {
210-
ctx.strokeStyle = circle.stroke
210+
ctx.strokeStyle = circle.stroke ?? "transparent"
211211
ctx.stroke()
212212
}
213213
})

0 commit comments

Comments
 (0)