@tscircuit/footprinter 0.0.254 → 0.0.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -986,13 +986,13 @@ var getQuadCoords = (params) => {
986
986
  const pcdfe = legsoutside ? pl / 2 : -pl / 2;
987
987
  switch (side) {
988
988
  case "left":
989
- return { x: -w / 2 - pcdfe, y: ibh / 2 - pos * p, o: "vert" };
989
+ return { x: -w / 2 - pcdfe + 0.1, y: ibh / 2 - pos * p, o: "vert" };
990
990
  case "bottom":
991
- return { x: -ibw / 2 + pos * p, y: -h / 2 - pcdfe, o: "horz" };
991
+ return { x: -ibw / 2 + pos * p, y: -h / 2 - pcdfe + 0.1, o: "horz" };
992
992
  case "right":
993
- return { x: w / 2 + pcdfe, y: -ibh / 2 + pos * p, o: "vert" };
993
+ return { x: w / 2 + pcdfe - 0.1, y: -ibh / 2 + pos * p, o: "vert" };
994
994
  case "top":
995
- return { x: ibw / 2 - pos * p, y: h / 2 + pcdfe, o: "horz" };
995
+ return { x: ibw / 2 - pos * p, y: h / 2 + pcdfe - 0.1, o: "horz" };
996
996
  default:
997
997
  throw new Error("Invalid pin number");
998
998
  }