From 31ac1ead5b79502645cd8c967ebd582173209d12 Mon Sep 17 00:00:00 2001 From: DiTus Date: Sun, 22 Mar 2026 21:22:15 +0100 Subject: [PATCH] Disable crosshair magnet mode --- js/ui/chart.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/js/ui/chart.js b/js/ui/chart.js index e3c572d..20fb421 100644 --- a/js/ui/chart.js +++ b/js/ui/chart.js @@ -352,11 +352,14 @@ export class TradingDashboard { vertTouchDrag: true, // Enabled to allow chart-internal vertical scrolling }, handleScale: { - axisPressedMouseMove: true, - mouseWheel: true, - pinch: true, // This enables pinch-to-zoom on touch devices + axisPressedMouseMove: true, + mouseWheel: true, + pinch: true, // This enables pinch-to-zoom on touch devices + }, + crosshair: { + mode: LightweightCharts.CrosshairMode.Normal, }, - }); + }); // Setup price format selector change handler const priceInput = document.getElementById("priceFormatInput");