From b017139d22c55fa4610cac6c0aa1e978a0da2d8b Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 15 Jun 2023 20:40:51 +0200 Subject: [PATCH] fix(core): reset end handle on connection end --- packages/core/src/store/actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/store/actions.ts b/packages/core/src/store/actions.ts index 06470d11..1540afab 100644 --- a/packages/core/src/store/actions.ts +++ b/packages/core/src/store/actions.ts @@ -611,6 +611,7 @@ export function useActions( const endConnection: Actions['endConnection'] = (event, isClick) => { state.connectionPosition = { x: NaN, y: NaN } + state.connectionEndHandle = null state.connectionStatus = null if (isClick) {