hyperprop-charting-library 0.1.126 → 0.1.127
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.
|
@@ -5728,6 +5728,9 @@ function createChart(element, options = {}) {
|
|
|
5728
5728
|
return;
|
|
5729
5729
|
}
|
|
5730
5730
|
const point = getCanvasPoint(event);
|
|
5731
|
+
if (getCrosshairPriceActionRegion(point.x, point.y) || getOrderActionRegion(point.x, point.y)) {
|
|
5732
|
+
return;
|
|
5733
|
+
}
|
|
5731
5734
|
const region = getHitRegion(point.x, point.y);
|
|
5732
5735
|
if (region === "outside") {
|
|
5733
5736
|
return;
|
|
@@ -5702,6 +5702,9 @@ function createChart(element, options = {}) {
|
|
|
5702
5702
|
return;
|
|
5703
5703
|
}
|
|
5704
5704
|
const point = getCanvasPoint(event);
|
|
5705
|
+
if (getCrosshairPriceActionRegion(point.x, point.y) || getOrderActionRegion(point.x, point.y)) {
|
|
5706
|
+
return;
|
|
5707
|
+
}
|
|
5705
5708
|
const region = getHitRegion(point.x, point.y);
|
|
5706
5709
|
if (region === "outside") {
|
|
5707
5710
|
return;
|
package/dist/index.cjs
CHANGED
|
@@ -5728,6 +5728,9 @@ function createChart(element, options = {}) {
|
|
|
5728
5728
|
return;
|
|
5729
5729
|
}
|
|
5730
5730
|
const point = getCanvasPoint(event);
|
|
5731
|
+
if (getCrosshairPriceActionRegion(point.x, point.y) || getOrderActionRegion(point.x, point.y)) {
|
|
5732
|
+
return;
|
|
5733
|
+
}
|
|
5731
5734
|
const region = getHitRegion(point.x, point.y);
|
|
5732
5735
|
if (region === "outside") {
|
|
5733
5736
|
return;
|
package/dist/index.js
CHANGED
|
@@ -5702,6 +5702,9 @@ function createChart(element, options = {}) {
|
|
|
5702
5702
|
return;
|
|
5703
5703
|
}
|
|
5704
5704
|
const point = getCanvasPoint(event);
|
|
5705
|
+
if (getCrosshairPriceActionRegion(point.x, point.y) || getOrderActionRegion(point.x, point.y)) {
|
|
5706
|
+
return;
|
|
5707
|
+
}
|
|
5705
5708
|
const region = getHitRegion(point.x, point.y);
|
|
5706
5709
|
if (region === "outside") {
|
|
5707
5710
|
return;
|