acttrader-charts 1.0.3 → 1.0.5
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/webview/chart.html +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16545,7 +16545,7 @@ var _ChartEngine = class _ChartEngine {
|
|
|
16545
16545
|
Math.min(Math.ceil(this.viewport.endIndex), Math.round(rawBarIndex))
|
|
16546
16546
|
);
|
|
16547
16547
|
const bar = this.dataStore.all[clamped] ?? null;
|
|
16548
|
-
this.crosshair = isInChartArea && this.
|
|
16548
|
+
this.crosshair = isInChartArea && !this.tradePopover?.isVisible ? { x, y, barIndex: clamped, price, bar } : null;
|
|
16549
16549
|
if (this.crosshair) this.emitter.emit("crosshair", this.crosshair);
|
|
16550
16550
|
const hoveringDotLevel = this.positionRenderStyle === "dot" && this.hoveredTradeLabel !== null;
|
|
16551
16551
|
if (this.tradeButton) {
|