changed prop names edgeLabel

This commit is contained in:
peterkogo
2024-01-18 15:23:31 +01:00
parent 88aa0fccf3
commit b6b3822787
2 changed files with 6 additions and 7 deletions
@@ -18,7 +18,6 @@
let className: $$Props['class'] = undefined;
export { className as class };
// @todo, why is interactionWidth undefined after first re-render?
let interactionWidthValue = interactionWidth === undefined ? 20 : interactionWidth;
</script>
@@ -43,7 +42,7 @@
{/if}
{#if label}
<EdgeLabel {labelX} {labelY} {labelStyle}>
<EdgeLabel x={labelX} y={labelY} style={labelStyle}>
{label}
</EdgeLabel>
{/if}