chore(svelte): reset isValidConnection
This commit is contained in:
@@ -294,6 +294,7 @@ export function createStore(params: CreateStoreParams): SvelteFlowStore {
|
|||||||
store.selectionRect.set(null);
|
store.selectionRect.set(null);
|
||||||
store.selectionRectMode.set(null);
|
store.selectionRectMode.set(null);
|
||||||
store.snapGrid.set(null);
|
store.snapGrid.set(null);
|
||||||
|
store.isValidConnection.set(() => true);
|
||||||
|
|
||||||
resetSelectedElements();
|
resetSelectedElements();
|
||||||
cancelConnection();
|
cancelConnection();
|
||||||
|
|||||||
Reference in New Issue
Block a user