chore(svelte): cleanup

This commit is contained in:
moklick
2023-09-27 16:15:43 +02:00
parent 4e64b57d6d
commit 335e116d44
5 changed files with 8 additions and 7 deletions
@@ -5,7 +5,7 @@
export let containerStyle: string = '';
export let style: string = '';
export let usingCustomLine: boolean = false;
export let isCustomComponent: boolean = false;
const { width, height, connection } = useStore();
</script>
@@ -15,7 +15,7 @@
<g class={cc(['svelte-flow__connection', $connection.status])} {style}>
<slot name="connectionLine" />
<!-- slot fallbacks do not work if slots are forwarded in parent -->
{#if !usingCustomLine}
{#if !isCustomComponent}
<path d={$connection.path} fill="none" class="svelte-flow__connection-path" />
{/if}
</g>