浏览代码

fix arrows

main
Steve Ruiz 3 年前
父节点
当前提交
e042ac3061
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      packages/tldraw/src/state/sessions/ArrowSession/ArrowSession.ts

+ 1
- 1
packages/tldraw/src/state/sessions/ArrowSession/ArrowSession.ts 查看文件

355
 
355
 
356
     if (
356
     if (
357
       !(currentBindingId || initialBinding) &&
357
       !(currentBindingId || initialBinding) &&
358
-      Vec.dist(currentShape.handles.start.point, currentShape.handles.end.point) > 2
358
+      Vec.dist(currentShape.handles.start.point, currentShape.handles.end.point) < 4
359
     ) {
359
     ) {
360
       return this.cancel()
360
       return this.cancel()
361
     }
361
     }

正在加载...
取消
保存