circuit-to-svg 0.0.191 → 0.0.192

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
@@ -1503,7 +1503,7 @@ function ringToPathD(vertices, transform) {
1503
1503
  const dy = end.y - start.y;
1504
1504
  const dist = Math.hypot(dx, dy);
1505
1505
  const radius = Math.abs(dist / 4 / bulge * (bulge * bulge + 1));
1506
- const sweepFlag = bulge < 0 ? 0 : 1;
1506
+ const sweepFlag = bulge < 0 ? 1 : 0;
1507
1507
  const largeArcFlag = Math.abs(bulge) > 1 ? 1 : 0;
1508
1508
  d += ` A ${radius} ${radius} 0 ${largeArcFlag} ${sweepFlag} ${end.x} ${end.y}`;
1509
1509
  } else {
@@ -1645,7 +1645,7 @@ function getSoftwareUsedString(circuitJson) {
1645
1645
  var package_default = {
1646
1646
  name: "circuit-to-svg",
1647
1647
  type: "module",
1648
- version: "0.0.190",
1648
+ version: "0.0.191",
1649
1649
  description: "Convert Circuit JSON to SVG",
1650
1650
  main: "dist/index.js",
1651
1651
  files: [