fix(canvas): avoid filled stroke geometry for shapes

This commit is contained in:
Danila Poyarkov 2026-05-18 01:53:08 +03:00
parent 2348966879
commit 1e735434c0

View file

@ -462,7 +462,8 @@ function drawNodeStroke(
return
}
if (stroke.align !== 'INSIDE') {
drawVectorStrokeGeometry(r, canvas, sg, sc, stroke.opacity)
if (node.type === 'VECTOR') drawVectorStrokeGeometry(r, canvas, sg, sc, stroke.opacity)
else drawRegularStroke(r, canvas, node, rect, hasRadius, stroke, sc)
return
}