chore(core): cleanup change handler

This commit is contained in:
braks
2022-11-17 17:55:20 +01:00
committed by Braks
parent 4a1cc24bd8
commit a379b4f1cf
2 changed files with 0 additions and 5 deletions
-4
View File
@@ -98,10 +98,6 @@ export const applyChanges = <
if (isGraphNode(el)) {
if (typeof change.position !== 'undefined') el.position = change.position
if (typeof change.computedPosition !== 'undefined') {
el.computedPosition = { ...el.computedPosition, ...change.computedPosition }
}
if (el.expandParent && el.parentNode) {
const parent = elements[elementIds.indexOf(el.parentNode)]