removed consolelog
This commit is contained in:
@@ -202,8 +202,6 @@ export function XYResizer({ domNode, nodeId, getStoreItems, onChange }: XYResize
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(isXPosChange, x, isYPosChange, y);
|
|
||||||
|
|
||||||
if (isXPosChange || isYPosChange || nodeOrigin[0] === 1 || nodeOrigin[1] == 1) {
|
if (isXPosChange || isYPosChange || nodeOrigin[0] === 1 || nodeOrigin[1] == 1) {
|
||||||
change.x = isXPosChange ? x : prevValues.x;
|
change.x = isXPosChange ? x : prevValues.x;
|
||||||
change.y = isYPosChange ? y : prevValues.y;
|
change.y = isYPosChange ? y : prevValues.y;
|
||||||
@@ -245,8 +243,6 @@ export function XYResizer({ domNode, nodeId, getStoreItems, onChange }: XYResize
|
|||||||
prevValues.height = change.height;
|
prevValues.height = change.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(change);
|
|
||||||
|
|
||||||
const direction = getResizeDirection({
|
const direction = getResizeDirection({
|
||||||
width: prevValues.width,
|
width: prevValues.width,
|
||||||
prevWidth,
|
prevWidth,
|
||||||
|
|||||||
Reference in New Issue
Block a user