restore attribute

This commit is contained in:
Alessandro
2025-08-18 15:34:09 +02:00
parent 2e7c89c6c3
commit b4a8936009
3 changed files with 27 additions and 6 deletions
@@ -26,16 +26,17 @@
>
{#if type === MarkerType.Arrow}
<polyline
class="arrow"
style:stroke={color}
style:fill={'none'}
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width={strokeWidth}
fill="none"
points="-5,-4 0,0 -5,4"
/>
{:else if type === MarkerType.ArrowClosed}
<polyline
class="arrowclosed"
style:stroke={color}
style:fill={color}
stroke-linecap="round"