Disable crosshair magnet mode

This commit is contained in:
DiTus
2026-03-22 21:22:15 +01:00
parent a3bf8624fb
commit 31ac1ead5b

View File

@ -352,11 +352,14 @@ export class TradingDashboard {
vertTouchDrag: true, // Enabled to allow chart-internal vertical scrolling vertTouchDrag: true, // Enabled to allow chart-internal vertical scrolling
}, },
handleScale: { handleScale: {
axisPressedMouseMove: true, axisPressedMouseMove: true,
mouseWheel: true, mouseWheel: true,
pinch: true, // This enables pinch-to-zoom on touch devices pinch: true, // This enables pinch-to-zoom on touch devices
},
crosshair: {
mode: LightweightCharts.CrosshairMode.Normal,
}, },
}); });
// Setup price format selector change handler // Setup price format selector change handler
const priceInput = document.getElementById("priceFormatInput"); const priceInput = document.getElementById("priceFormatInput");