hyperprop-charting-library 0.1.40 → 0.1.41

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.
@@ -2638,6 +2638,7 @@ function createChart(element, options = {}) {
2638
2638
  const crosshairButtonRegion = getCrosshairPriceActionRegion(point.x, point.y);
2639
2639
  if (crosshairButtonRegion) {
2640
2640
  canvas.style.cursor = "pointer";
2641
+ setCrosshairPoint(point);
2641
2642
  return;
2642
2643
  }
2643
2644
  const orderRegion = getOrderActionRegion(point.x, point.y);
@@ -2614,6 +2614,7 @@ function createChart(element, options = {}) {
2614
2614
  const crosshairButtonRegion = getCrosshairPriceActionRegion(point.x, point.y);
2615
2615
  if (crosshairButtonRegion) {
2616
2616
  canvas.style.cursor = "pointer";
2617
+ setCrosshairPoint(point);
2617
2618
  return;
2618
2619
  }
2619
2620
  const orderRegion = getOrderActionRegion(point.x, point.y);
package/dist/index.cjs CHANGED
@@ -2638,6 +2638,7 @@ function createChart(element, options = {}) {
2638
2638
  const crosshairButtonRegion = getCrosshairPriceActionRegion(point.x, point.y);
2639
2639
  if (crosshairButtonRegion) {
2640
2640
  canvas.style.cursor = "pointer";
2641
+ setCrosshairPoint(point);
2641
2642
  return;
2642
2643
  }
2643
2644
  const orderRegion = getOrderActionRegion(point.x, point.y);
package/dist/index.js CHANGED
@@ -2614,6 +2614,7 @@ function createChart(element, options = {}) {
2614
2614
  const crosshairButtonRegion = getCrosshairPriceActionRegion(point.x, point.y);
2615
2615
  if (crosshairButtonRegion) {
2616
2616
  canvas.style.cursor = "pointer";
2617
+ setCrosshairPoint(point);
2617
2618
  return;
2618
2619
  }
2619
2620
  const orderRegion = getOrderActionRegion(point.x, point.y);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperprop-charting-library",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": "Lightweight TypeScript charting core",
5
5
  "type": "module",
6
6
  "main": "./dist/hyperprop-charting-library.cjs",