chore(xyresizer): cleanup

This commit is contained in:
moklick
2024-06-25 16:50:40 +02:00
parent 6f14f92f8c
commit eed8856536
@@ -252,12 +252,6 @@ export function XYResizer({ domNode, nodeId, getStoreItems, onChange, onEnd }: X
prevValues.height = change.height;
}
if (parentNode && node.expandParent) {
if (prevValues.x - (change?.width ?? 0) < 0) {
// console.log(1);
}
}
const direction = getResizeDirection({
width: prevValues.width,
prevWidth,