@canvas-harness/core 0.1.10 → 0.1.11

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.cjs CHANGED
@@ -2338,6 +2338,7 @@ var createDefaultTextareaEditor = ({
2338
2338
  wrap.style.borderRadius = "4px";
2339
2339
  wrap.style.background = style.backgroundColor ?? "#ffffff";
2340
2340
  wrap.style.zIndex = "20";
2341
+ wrap.style.pointerEvents = "auto";
2341
2342
  const ta = document.createElement("textarea");
2342
2343
  ta.value = node.content ?? "";
2343
2344
  ta.spellcheck = false;
@@ -4786,7 +4787,13 @@ var paintAtomicRough = (rc, ctx, type, w, h, style, scale, theme, seed) => {
4786
4787
  strokeWidth,
4787
4788
  roughness,
4788
4789
  seed,
4789
- strokeLineDash: dash.length > 0 ? dash : void 0,
4790
+ // Always pass an explicit array (empty = solid) so rough.js calls
4791
+ // ctx.setLineDash() to a known state. Passing `undefined` makes
4792
+ // rough skip that call, and the canvas inherits whatever the
4793
+ // previous draw left behind — a transparent-stroke node's
4794
+ // fill-derived outline would pick up the dash from an earlier
4795
+ // dashed node in the same paint pass.
4796
+ strokeLineDash: dash,
4790
4797
  curveStepCount: detail.curveStepCount,
4791
4798
  maxRandomnessOffset: detail.maxRandomnessOffset
4792
4799
  });