chore(core): cleanup connection line

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-15 00:08:23 +01:00
committed by Braks
parent 83636d4e53
commit cc83ba95bd

View File

@@ -49,7 +49,7 @@ const targetX = $computed(() => (connectionPosition.x - viewport.x) / viewport.z
const targetY = $computed(() => (connectionPosition.y - viewport.y) / viewport.zoom)
const dAttr = computed(() => {
let path = `M${sourceX},${sourceY} ${targetX},${targetY}`
let path
const pathParams = {
sourceX,