diff --git a/src/draw/drawUtils.js b/src/draw/drawUtils.js index 55bebd6..34bda9b 100644 --- a/src/draw/drawUtils.js +++ b/src/draw/drawUtils.js @@ -1727,8 +1727,8 @@ const getShapeByPosition = (mouseX, mouseY, $container, xx) => { } else { if ( pointInRect( - setScale(targetPoint.x), - setScale(targetPoint.y), + setScale(sourcePoint.x), + setScale(sourcePoint.y), mouseSize ) ) {