From cc83ba95bd79ec8cc90f9312787c0f89270bebb4 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 15 Feb 2023 00:08:23 +0100 Subject: [PATCH] chore(core): cleanup connection line Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- packages/core/src/components/ConnectionLine/ConnectionLine.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/ConnectionLine/ConnectionLine.vue b/packages/core/src/components/ConnectionLine/ConnectionLine.vue index c9dcb619..784e8e77 100644 --- a/packages/core/src/components/ConnectionLine/ConnectionLine.vue +++ b/packages/core/src/components/ConnectionLine/ConnectionLine.vue @@ -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,