Skip to content

Commit 78dc000

Browse files
committed
Fix custom pad rendering
1 parent f5678ad commit 78dc000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InteractiveHtmlBom/web/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function getCachedPadPath(pad) {
232232
} else if (pad.shape == "chamfrect") {
233233
pad.path2d = getChamferedRectPath(pad.size, pad.radius, pad.chamfpos, pad.chamfratio)
234234
} else if (pad.shape == "custom") {
235-
pad.path2d = getPolygonsPath(pad.polygons);
235+
pad.path2d = getPolygonsPath(pad);
236236
}
237237
}
238238
return pad.path2d;

0 commit comments

Comments
 (0)