DCA redraw hacks
This commit is contained in:
@@ -77,6 +77,8 @@ function initChart() {
|
||||
chart.crossHairMoved().subscribe(null, (point)=>setTimeout(()=>handleCrosshairMovement(point),0) )
|
||||
chart.onSymbolChanged().subscribe(null, changeSymbol)
|
||||
chart.onIntervalChanged().subscribe(null, changeInterval)
|
||||
// chart.onHoveredSourceChanged().subscribe(null, ()=>console.log('hovered source changed', arguments))
|
||||
// chart.selection().onChanged().subscribe(null, s => console.log('selection', chart.selection().allSources()));
|
||||
changeSymbol(chart.symbolExt())
|
||||
changeInterval(widget.symbolInterval().interval)
|
||||
useChartOrderStore().chartReady = true
|
||||
@@ -205,6 +207,7 @@ export let draggingShapeIds = []
|
||||
|
||||
|
||||
function handleCrosshairMovement(point) {
|
||||
// console.log('crosshair moved')
|
||||
crosshairPoint = point
|
||||
const co = useChartOrderStore()
|
||||
if (co.drawing)
|
||||
|
||||
Reference in New Issue
Block a user