Skip to content

Commit 5ae3c5a

Browse files
committed
Fix position
1 parent 0dba432 commit 5ae3c5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/backend/src/common/commonPosition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const getCommonPositionValue = (
1212
x: x,
1313
y: y,
1414
},
15-
-(node.rotation + (node.cumulativeRotation || 0)),
15+
-((node.rotation || 0) + (node.cumulativeRotation || 0)),
1616
);
1717

1818
return { x: rect.left, y: rect.top };

0 commit comments

Comments
 (0)