circuit-to-svg 0.0.153 → 0.0.155
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 +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3681,7 +3681,8 @@ var createSvgObjectsFromSchematicComponentWithSymbol = ({
|
|
|
3681
3681
|
}).join(" ") + (closed ? " Z" : ""),
|
|
3682
3682
|
stroke: colorMap2.schematic.component_outline,
|
|
3683
3683
|
fill: "none",
|
|
3684
|
-
"stroke-width": `${getSchStrokeSize(realToScreenTransform)}px
|
|
3684
|
+
"stroke-width": `${getSchStrokeSize(realToScreenTransform)}px`,
|
|
3685
|
+
"stroke-linecap": "round"
|
|
3685
3686
|
},
|
|
3686
3687
|
value: "",
|
|
3687
3688
|
children: []
|
|
@@ -4616,7 +4617,8 @@ var createSvgObjectsForSchNetLabelWithSymbol = ({
|
|
|
4616
4617
|
d: symbolPath + (path.closed ? " Z" : ""),
|
|
4617
4618
|
stroke: colorMap2.schematic.component_outline,
|
|
4618
4619
|
fill: "none",
|
|
4619
|
-
"stroke-width": `${getSchStrokeSize(realToScreenTransform)}px
|
|
4620
|
+
"stroke-width": `${getSchStrokeSize(realToScreenTransform)}px`,
|
|
4621
|
+
"stroke-linecap": "round"
|
|
4620
4622
|
},
|
|
4621
4623
|
value: "",
|
|
4622
4624
|
children: []
|
|
@@ -4880,7 +4882,7 @@ var createSvgObjectsFromSchematicBox = ({
|
|
|
4880
4882
|
y: yTop.toString(),
|
|
4881
4883
|
width: (xRight - xLeft).toString(),
|
|
4882
4884
|
height: (yBottom - yTop).toString(),
|
|
4883
|
-
"stroke-width":
|
|
4885
|
+
"stroke-width": `${getSchStrokeSize(transform)}px`,
|
|
4884
4886
|
stroke: colorMap2.schematic.component_outline || "black",
|
|
4885
4887
|
fill: "transparent"
|
|
4886
4888
|
};
|