fix(handles): connectOnClick reset before connections can be made

This commit is contained in:
braks
2022-10-13 23:23:43 +02:00
committed by Braks
parent 18a812db64
commit d420feaf48
4 changed files with 28 additions and 13 deletions
+1
View File
@@ -84,6 +84,7 @@ const defaultState = (): State => ({
},
connectionMode: ConnectionMode.Loose,
connectionStartHandle: null,
connectionClickStartHandle: null,
connectionPosition: { x: NaN, y: NaN },
connectOnClick: true,