acttrader-charts 1.0.3 → 1.0.4

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.js CHANGED
@@ -14026,7 +14026,7 @@ var _ChartEngine = class _ChartEngine {
14026
14026
  Math.min(Math.ceil(this.viewport.endIndex), Math.round(rawBarIndex))
14027
14027
  );
14028
14028
  const bar = this.dataStore.all[clamped] ?? null;
14029
- this.crosshair = isInChartArea && this.tradeButton === null ? { x, y, barIndex: clamped, price, bar } : null;
14029
+ this.crosshair = isInChartArea && !this.tradePopover?.isVisible ? { x, y, barIndex: clamped, price, bar } : null;
14030
14030
  if (this.crosshair) this.emitter.emit("crosshair", this.crosshair);
14031
14031
  const hoveringDotLevel = this.positionRenderStyle === "dot" && this.hoveredTradeLabel !== null;
14032
14032
  if (this.tradeButton) {