slightly better anchor position
This commit is contained in:
parent
a958ecc6b6
commit
79ddc8edb6
|
@ -32,7 +32,7 @@
|
||||||
position={Position.Left}
|
position={Position.Left}
|
||||||
id={inp + "_" + index}
|
id={inp + "_" + index}
|
||||||
class="handle {inp}"
|
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}
|
||||||
{#each data.outputs as out, index}
|
{#each data.outputs as out, index}
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
id={out + "_" + index}
|
id={out + "_" + index}
|
||||||
position={Position.Right}
|
position={Position.Right}
|
||||||
class="handle {out}"
|
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}
|
{/each}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue