From 1d8fc1bfaf8702c88eb7d07f18fcbe8d0ea5ce98 Mon Sep 17 00:00:00 2001
From: Peter
Date: Wed, 27 Sep 2023 15:53:17 +0200
Subject: [PATCH] fix(svelte) backup connection line now renders correctly
---
.../svelte/src/routes/custom-connection-line/+page.svelte | 2 +-
.../lib/components/ConnectionLine/ConnectionLine.svelte | 6 ++++--
.../svelte/src/lib/container/SvelteFlow/SvelteFlow.svelte | 8 ++++++--
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/examples/svelte/src/routes/custom-connection-line/+page.svelte b/examples/svelte/src/routes/custom-connection-line/+page.svelte
index c5bcab3f..58552225 100644
--- a/examples/svelte/src/routes/custom-connection-line/+page.svelte
+++ b/examples/svelte/src/routes/custom-connection-line/+page.svelte
@@ -26,7 +26,7 @@
-
+
diff --git a/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte b/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte
index d88cb728..f8ddc5b3 100644
--- a/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte
+++ b/packages/svelte/src/lib/components/ConnectionLine/ConnectionLine.svelte
@@ -5,16 +5,18 @@
export let containerStyle: string = '';
export let style: string = '';
+ export let usingCustomLine: boolean = false;
const { width, height, connection } = useStore();
{#if $connection.path}
{/if}
diff --git a/packages/svelte/src/lib/container/SvelteFlow/SvelteFlow.svelte b/packages/svelte/src/lib/container/SvelteFlow/SvelteFlow.svelte
index 2f13ac2f..bb450236 100644
--- a/packages/svelte/src/lib/container/SvelteFlow/SvelteFlow.svelte
+++ b/packages/svelte/src/lib/container/SvelteFlow/SvelteFlow.svelte
@@ -162,8 +162,12 @@
-
-
+
+