e-virt-table 0.0.11 → 0.0.12

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.es.js CHANGED
@@ -2847,6 +2847,8 @@ class Vt {
2847
2847
  this.updateScroll(t);
2848
2848
  }
2849
2849
  onMouseDown(t) {
2850
+ if (!(t.target instanceof HTMLCanvasElement) || !this.ctx.isTarget(t.target))
2851
+ return;
2850
2852
  const { offsetX: e, offsetY: i, clientX: s, clientY: o } = t;
2851
2853
  if (!(s == this.clientX && o == this.clientY)) {
2852
2854
  if (this.isOnScrollbar(e, i))