circuit-to-svg 0.0.151 → 0.0.152
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 +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3615,6 +3615,7 @@ function createSchematicTrace({
|
|
|
3615
3615
|
cx: screenX.toString(),
|
|
3616
3616
|
cy: screenY.toString(),
|
|
3617
3617
|
r: (Math.abs(transform.a) * 0.03).toString(),
|
|
3618
|
+
class: "trace-junction",
|
|
3618
3619
|
fill: colorMap2.schematic.junction
|
|
3619
3620
|
},
|
|
3620
3621
|
value: "",
|
|
@@ -5042,6 +5043,9 @@ function convertCircuitJsonToSchematicSvg(circuitJson, options) {
|
|
|
5042
5043
|
.trace:hover .trace-crossing-outline {
|
|
5043
5044
|
opacity: 0;
|
|
5044
5045
|
}
|
|
5046
|
+
.trace:hover .trace-junction {
|
|
5047
|
+
filter: invert(1);
|
|
5048
|
+
}
|
|
5045
5049
|
.text { font-family: sans-serif; fill: ${colorMap2.schematic.wire}; }
|
|
5046
5050
|
.pin-number { fill: ${colorMap2.schematic.pin_number}; }
|
|
5047
5051
|
.port-label { fill: ${colorMap2.schematic.reference}; }
|