jscad-electronics 0.0.113 → 0.0.114
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +2 -1
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/vanilla.js
CHANGED
|
@@ -692,7 +692,8 @@ var PinRow = ({
|
|
|
692
692
|
const shortSidePinLength = 3;
|
|
693
693
|
const xoff = -((pinsPerRow - 1) / 2) * pitch;
|
|
694
694
|
const bodyCenterY = rows > 1 ? -((rows - 1) * rowSpacing) / 2 : 0;
|
|
695
|
-
const
|
|
695
|
+
const zOffset = !smd && !rightangle ? -bodyHeight - 1.6 : 0;
|
|
696
|
+
const flipZ = (z) => (invert || faceup ? -z + bodyHeight : z) + zOffset;
|
|
696
697
|
return /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
697
698
|
/* @__PURE__ */ jsx(Translate, { y: rightangle ? -3 : 0, children: /* @__PURE__ */ jsx(
|
|
698
699
|
Cuboid,
|