Skip to content

Commit b017139

Browse files
committed
fix(core): reset end handle on connection end
1 parent e7e4f1f commit b017139

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/store/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ export function useActions(
611611

612612
const endConnection: Actions['endConnection'] = (event, isClick) => {
613613
state.connectionPosition = { x: NaN, y: NaN }
614+
state.connectionEndHandle = null
614615
state.connectionStatus = null
615616

616617
if (isClick) {

0 commit comments

Comments
 (0)