Skip to content

Commit

Permalink
hide crosshair mark on mouseleave (#1807)
Browse files Browse the repository at this point in the history
  • Loading branch information
illetid authored Feb 10, 2025
1 parent 067e321 commit bcdb3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/pane/crosshair-marks-pane-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class CrosshairMarksPaneView implements IUpdatablePaneView {
}

private _updateImpl(): void {
const forceHidden = this._crosshair.options().mode === CrosshairMode.Hidden;
const forceHidden = this._crosshair.options().mode === CrosshairMode.Hidden || !this._crosshair.visible();
const serieses = this._pane.orderedSeries();
const timePointIndex = this._crosshair.appliedIndex();
const timeScale = this._chartModel.timeScale();
Expand Down

0 comments on commit bcdb3e6

Please sign in to comment.