refactor(nodelookup): use ref for node renderer

This commit is contained in:
moklick
2021-11-04 14:33:21 +01:00
parent a3a9249d17
commit 31ad12ec9c
3 changed files with 17 additions and 8 deletions
-4
View File
@@ -309,10 +309,6 @@ function applyChanges(changes: NodeChange[] | EdgeChange[], elements: any[]): an
updateItem.height = currentChange.dimensions.height;
}
if (typeof currentChange.handleBounds !== 'undefined') {
updateItem.handleBounds = currentChange.handleBounds;
}
if (typeof currentChange.position !== 'undefined') {
updateItem.position = currentChange.position;
}