shape onModel improvements; vline fixes; time entry; couple bugs remain with dca dragging
This commit is contained in:
@@ -216,7 +216,13 @@ function handleCrosshairMovement(point) {
|
||||
draggingShapeIds = chart.selection().allSources();
|
||||
// console.log('dragging selected', draggingShapeIds)
|
||||
for (const shapeId of draggingShapeIds) {
|
||||
const shape = chart.getShapeById(shapeId);
|
||||
let shape
|
||||
try {
|
||||
shape = chart.getShapeById(shapeId);
|
||||
}
|
||||
catch (e) {
|
||||
continue
|
||||
}
|
||||
const points = shape.getPoints();
|
||||
// console.log(`dragging ${shapeId}`, shape, points1, points2, points3)
|
||||
// invokeCallbacks(shapeCallbacks[shapeId], 'onDrag', shapeId, shape, points)
|
||||
|
||||
Reference in New Issue
Block a user