fix: market drawing tools overlay alignment and pointer handling

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-08 12:45:47 +08:00
parent 26a4c04b88
commit ef57872d14
4 changed files with 150 additions and 76 deletions
+3
View File
@@ -247,6 +247,9 @@
mainEl: elChartMain,
canvasEl: elDrawCanvas,
toolbarEl: elDrawToolbar,
getCandles: function () {
return lastCandles;
},
});
window.HubChartDraw.setViewKey(currentChartViewKey());
drawAttached = true;