fix arrows

This commit is contained in:
Steve Ruiz 2021-11-27 11:01:28 +00:00
parent a3475a74df
commit e042ac3061

View file

@ -355,7 +355,7 @@ export class ArrowSession extends BaseSession {
if (
!(currentBindingId || initialBinding) &&
Vec.dist(currentShape.handles.start.point, currentShape.handles.end.point) > 2
Vec.dist(currentShape.handles.start.point, currentShape.handles.end.point) < 4
) {
return this.cancel()
}