fix(core): reset end handle on connection end
This commit is contained in:
@@ -611,6 +611,7 @@ export function useActions(
|
|||||||
|
|
||||||
const endConnection: Actions['endConnection'] = (event, isClick) => {
|
const endConnection: Actions['endConnection'] = (event, isClick) => {
|
||||||
state.connectionPosition = { x: NaN, y: NaN }
|
state.connectionPosition = { x: NaN, y: NaN }
|
||||||
|
state.connectionEndHandle = null
|
||||||
state.connectionStatus = null
|
state.connectionStatus = null
|
||||||
|
|
||||||
if (isClick) {
|
if (isClick) {
|
||||||
|
|||||||
Reference in New Issue
Block a user