fix: remove deep flag from elements and store-elements watcher
* deep watching causes a reset after positions change * fallback to non-worker parsing Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -86,6 +86,8 @@ export default (id: string, preloadedState: FlowState) => {
|
||||
workerTerminate('SUCCESS')
|
||||
next = res
|
||||
} else next = await parseElements(elements, this.nodes, this.edges, this.nodeExtent)
|
||||
} else {
|
||||
next = await parseElements(elements, this.nodes, this.edges, this.nodeExtent)
|
||||
}
|
||||
this.elements = [...next.nextNodes, ...next.nextEdges]
|
||||
this.nodes = next.nextNodes ?? []
|
||||
|
||||
Reference in New Issue
Block a user