Pārlūkot izejas kodu

fix arrows

main
Steve Ruiz 3 gadus atpakaļ
vecāks
revīzija
e042ac3061

+ 1
- 1
packages/tldraw/src/state/sessions/ArrowSession/ArrowSession.ts Parādīt failu

@@ -355,7 +355,7 @@ export class ArrowSession extends BaseSession {
355 355
 
356 356
     if (
357 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 360
       return this.cancel()
361 361
     }

Notiek ielāde…
Atcelt
Saglabāt