fix(SearchFlow): reset hasUserInteraction after clearing nodes

This commit is contained in:
AnotiaWang
2025-02-17 19:54:00 +08:00
parent dc068ce3fb
commit f15dde29c0

View File

@ -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']) {