drag zoom bugfix
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user