@pradeepjadhav/trading-reload-chart 1.1.0 → 1.1.1

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.
@@ -3450,7 +3450,7 @@ var U = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID(
3450
3450
  if (e.style.cursor = i === "x" ? "ew-resize" : "ns-resize", !this.#f || this.#f.pointerId !== t.pointerId || this.#f.axis !== i) return;
3451
3451
  const s = i === "x" ? t.clientX : t.clientY, r = s - this.#f.lastClientPosition;
3452
3452
  if (this.#f.lastClientPosition = s, !this.#s || r === 0) return;
3453
- const n = (i === "x" ? r : -r) / ne;
3453
+ const n = -r / ne;
3454
3454
  i === "x" ? this.#s.zoomHorizontally(n) : this.#s.zoomVertically(n), t.preventDefault(), this.#c();
3455
3455
  }
3456
3456
  #S(t) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pradeepjadhav/trading-reload-chart",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A React canvas-based trading chart library with candles, volume, drawing tools, and trade overlays.",
5
5
  "keywords": [
6
6
  "trading",