chore(core): cleanup

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-01 23:32:45 +01:00
committed by Braks
parent b59dd6a725
commit 94a094aa9e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ export function getDragItems(
id: n.id,
position: n.position || { x: 0, y: 0 },
distance: {
x: mousePos.x - n.computedPosition.x || 0,
y: mousePos.y - n.computedPosition.y || 0,
x: mousePos.x - n.computedPosition?.x || 0,
y: mousePos.y - n.computedPosition?.y || 0,
},
from: n.computedPosition,
extent: n.extent,