From fdd1f434c9c0751927ab30a30c6fabc1fbe41fd0 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Mon, 17 Jul 2023 17:34:11 -0500 Subject: [PATCH] oops goofed one --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 890c14b..4daa74c 100644 --- a/script.js +++ b/script.js @@ -193,7 +193,7 @@ function calcPinSize(pin, cdiv, connector, pinfo) { // without overlapping pins. var closest = 1000000; for (var ii = 0; ii < connector.info.image.pins.length; ii++) { - var tinfo = connector.image.info.image.pins[ii]; + var tinfo = connector.info.image.pins[ii]; var distance = Math.pow((tinfo.x - pinfo.x), 2) + Math.pow((tinfo.y - pinfo.y), 2); if (tinfo.pin != pin.pin && (!closest || distance < closest)) { closest = distance;