slightly better anchor position

This commit is contained in:
Sam Lavigne 2023-08-24 23:40:01 -04:00
parent a958ecc6b6
commit 79ddc8edb6
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
position={Position.Left}
id={inp + "_" + index}
class="handle {inp}"
style="top: {index * 12 + 4}px; left: -7px;">{inp}</Handle
style="top: {index * 12 + 4}px; left: -8px;">{inp}</Handle
>
{/each}
{#each data.outputs as out, index}
@ -41,7 +41,7 @@
id={out + "_" + index}
position={Position.Right}
class="handle {out}"
style="top: {index * 12 + 4}px; left: 107%;">{out}</Handle
style="top: {index * 12 + 4}px; right: -18px; left: auto;">{out}</Handle
>
{/each}