circuit-to-svg 0.0.234 → 0.0.235
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2179,7 +2179,7 @@ function createSvgObjectsFromPcbHole(hole, ctx) {
|
|
|
2179
2179
|
const scaledHeight = hole.hole_height * Math.abs(transform.a);
|
|
2180
2180
|
const radiusX = scaledWidth / 2;
|
|
2181
2181
|
const straightLength = scaledHeight - scaledWidth;
|
|
2182
|
-
const rotation = hole.
|
|
2182
|
+
const rotation = "ccw_rotation" in hole ? hole.ccw_rotation ?? 0 : 0;
|
|
2183
2183
|
return [
|
|
2184
2184
|
{
|
|
2185
2185
|
name: "path",
|
|
@@ -2723,7 +2723,7 @@ function getSoftwareUsedString(circuitJson) {
|
|
|
2723
2723
|
var package_default = {
|
|
2724
2724
|
name: "circuit-to-svg",
|
|
2725
2725
|
type: "module",
|
|
2726
|
-
version: "0.0.
|
|
2726
|
+
version: "0.0.234",
|
|
2727
2727
|
description: "Convert Circuit JSON to SVG",
|
|
2728
2728
|
main: "dist/index.js",
|
|
2729
2729
|
files: [
|