@ibodr/draw 0.2.4 → 0.2.5

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.mjs CHANGED
@@ -1060,7 +1060,7 @@ var PathBuilder = class _PathBuilder {
1060
1060
  const outer = strokeWidth * 3;
1061
1061
  const inner = strokeWidth;
1062
1062
  const maskId = doubleLineMaskId(d);
1063
- return /* @__PURE__ */ jsxs("g", { ...props, children: [
1063
+ return /* @__PURE__ */ jsxs("g", { ...props, strokeLinecap: "butt", children: [
1064
1064
  /* @__PURE__ */ jsxs("mask", { id: maskId, maskUnits: "userSpaceOnUse", children: [
1065
1065
  /* @__PURE__ */ jsx(
1066
1066
  "path",
@@ -1069,7 +1069,7 @@ var PathBuilder = class _PathBuilder {
1069
1069
  fill: "none",
1070
1070
  stroke: "#fff",
1071
1071
  strokeWidth: outer,
1072
- strokeLinecap: "round",
1072
+ strokeLinecap: "butt",
1073
1073
  strokeLinejoin: "round"
1074
1074
  }
1075
1075
  ),
@@ -1080,7 +1080,7 @@ var PathBuilder = class _PathBuilder {
1080
1080
  fill: "none",
1081
1081
  stroke: "#000",
1082
1082
  strokeWidth: inner,
1083
- strokeLinecap: "round",
1083
+ strokeLinecap: "butt",
1084
1084
  strokeLinejoin: "round"
1085
1085
  }
1086
1086
  )
@@ -1091,7 +1091,7 @@ var PathBuilder = class _PathBuilder {
1091
1091
  d,
1092
1092
  fill: "none",
1093
1093
  strokeWidth: outer,
1094
- strokeLinecap: "round",
1094
+ strokeLinecap: "butt",
1095
1095
  strokeLinejoin: "round",
1096
1096
  mask: `url(#${maskId})`
1097
1097
  }
@@ -38528,7 +38528,7 @@ async function extractAssets(editor, snapshot, msg, addToast) {
38528
38528
  // src/index.ts
38529
38529
  registerDrawLibraryVersion(
38530
38530
  "@ibodr/draw",
38531
- "0.2.4",
38531
+ "0.2.5",
38532
38532
  "esm"
38533
38533
  );
38534
38534
  /*!