fix(SearchFlow): reset hasUserInteraction
after clearing nodes
This commit is contained in:
@ -93,6 +93,7 @@
|
|||||||
nodes.value = [defaultRootNode()]
|
nodes.value = [defaultRootNode()]
|
||||||
edges.value = []
|
edges.value = []
|
||||||
layoutGraph()
|
layoutGraph()
|
||||||
|
hasUserInteraction = false
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleDrag(e: PointerEvent | FlowEvents['move']) {
|
function handleDrag(e: PointerEvent | FlowEvents['move']) {
|
||||||
|
Reference in New Issue
Block a user