style: refine measurement tool to match professional style and fix rendering bugs
This commit is contained in:
@ -457,11 +457,8 @@ export class TradingDashboard {
|
||||
this.initNavigationControls();
|
||||
|
||||
// Initialize Drawing Manager
|
||||
const drawingLayer = document.getElementById('drawingLayer');
|
||||
if (drawingLayer) {
|
||||
this.drawingManager = new DrawingManager(this.chart, this.candleSeries, drawingLayer, chartContainer);
|
||||
window.activateDrawingTool = (tool) => this.drawingManager.setTool(tool);
|
||||
}
|
||||
this.drawingManager = new DrawingManager(this, chartContainer);
|
||||
window.activateDrawingTool = (tool) => this.drawingManager.setTool(tool);
|
||||
|
||||
// Setup price format selector change handler
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
|
||||
Reference in New Issue
Block a user