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