refactor(node-resizer): use nodeId from context, fix glitches while resizing
This commit is contained in:
@@ -94,6 +94,10 @@ function applyChanges(changes: any[], elements: any[]): any[] {
|
||||
updateItem.style = { ...(updateItem.style || {}), ...currentChange.dimensions };
|
||||
}
|
||||
|
||||
if (typeof currentChange.resizing === 'boolean') {
|
||||
updateItem.resizing = currentChange.resizing;
|
||||
}
|
||||
|
||||
if (updateItem.expandParent) {
|
||||
handleParentExpand(res, updateItem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user