drag zoom bugfix

This commit is contained in:
tim
2025-03-26 17:10:18 -04:00
parent dabf6dd60f
commit 7d04d23a89
2 changed files with 2 additions and 2 deletions

View File

@@ -358,7 +358,7 @@ function doHandleCrosshairMovement(point) {
}
const points = structuredClone(shape.getPoints());
const lpbe = shape._model._linePointBeingEdited
points[lpbe] = point
points[lpbe===null?0:lpbe] = point
// console.log('calling onDrag', points, shape)
invokeCallbacks(shapeCallbacks[shapeId], 'onDrag', shapeId, shape, points)
}