Disable crosshair magnet mode
This commit is contained in:
@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user