e-virt-table 0.1.12 → 0.1.13

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
@@ -3971,7 +3971,7 @@ class ui {
3971
3971
  x && (y = a.visibleHeight);
3972
3972
  const b = i.drawY + p - (t - y - d);
3973
3973
  let m = c, E = f;
3974
- g > 0 && !i.fixed ? m = c + g : u > 0 && !i.fixed && (m = c - u), w > 0 ? E = f - w : b > 0 && (E = f + b), (Math.abs(c - m) > 1 || Math.abs(f - E) > 1) && (this.ctx.adjustPositioning = !0, this.ctx.setScroll(m, E), this.ctx.emit("adjustBoundaryPosition", i));
3974
+ g > 0 && !i.fixed ? m = Math.floor(c + g) : u > 0 && !i.fixed && (m = Math.floor(c - u)), w > 0 ? E = Math.floor(f - w) : b > 0 && (E = Math.floor(f + b)), (Math.abs(c - m) > 2 || Math.abs(f - E) > 2) && (this.ctx.adjustPositioning = !0, this.ctx.setScroll(m, E), this.ctx.emit("adjustBoundaryPosition", i));
3975
3975
  }
3976
3976
  destroy() {
3977
3977
  this.timerX && (clearTimeout(this.timerX), this.timerX = 0), this.timerY && (clearTimeout(this.timerY), this.timerY = 0);