@opendata-ai/openchart-vanilla 8.0.0-rc.21 → 8.0.0-rc.22

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.
@@ -414,7 +414,7 @@ var ScatterCanvasRenderer = class {
414
414
  // src/scatter-canvas/state.ts
415
415
  function flattenFill(fill) {
416
416
  if (typeof fill === "string") return fill;
417
- return fill.stops[0]?.color ?? "none";
417
+ return fill.stops[0]?.color ?? "transparent";
418
418
  }
419
419
  function collectGridlines(axis, orient, out) {
420
420
  if (!axis) return;
@@ -5241,12 +5241,14 @@ function wireCanvasInteractions({
5241
5241
  canvas.addEventListener("pointermove", handlePointerMove);
5242
5242
  canvas.addEventListener("pointerdown", handlePointerDown);
5243
5243
  canvas.addEventListener("pointerleave", handlePointerLeave);
5244
+ canvas.addEventListener("pointerenter", invalidateRects);
5244
5245
  window.addEventListener("scroll", invalidateRects, true);
5245
5246
  window.addEventListener("resize", invalidateRects);
5246
5247
  return () => {
5247
5248
  canvas.removeEventListener("pointermove", handlePointerMove);
5248
5249
  canvas.removeEventListener("pointerdown", handlePointerDown);
5249
5250
  canvas.removeEventListener("pointerleave", handlePointerLeave);
5251
+ canvas.removeEventListener("pointerenter", invalidateRects);
5250
5252
  window.removeEventListener("scroll", invalidateRects, true);
5251
5253
  window.removeEventListener("resize", invalidateRects);
5252
5254
  };
@@ -8329,4 +8331,4 @@ export {
8329
8331
  scrubCamera,
8330
8332
  createMap
8331
8333
  };
8332
- //# sourceMappingURL=chunk-KNT5AZ2O.js.map
8334
+ //# sourceMappingURL=chunk-4KJVKANW.js.map