File tree Expand file tree Collapse file tree
packages/layerchart/src/lib/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' layerchart ' : patch
3+ ---
4+
5+ fix(Spline): Do not unnecessarily render mid/end markers. Fixes Firefox when used with ClipPath.
Original file line number Diff line number Diff line change 303303 </slot >
304304
305305 <slot name ="markerMid" id ={markerMidId }>
306- <Marker
307- id ={markerMidId }
308- type ={typeof markerMid === ' string' ? markerMid : undefined }
309- {...typeof markerMid === ' object' ? markerMid : null }
310- />
306+ {#if markerMid }
307+ <Marker
308+ id ={markerMidId }
309+ type ={typeof markerMid === ' string' ? markerMid : undefined }
310+ {...typeof markerMid === ' object' ? markerMid : null }
311+ />
312+ {/if }
311313 </slot >
312314
313315 <slot name ="markerEnd" id ={markerEndId }>
314- <Marker
315- id ={markerEndId }
316- type ={typeof markerEnd === ' string' ? markerEnd : undefined }
317- {...typeof markerEnd === ' object' ? markerEnd : null }
318- />
316+ {#if markerEnd }
317+ <Marker
318+ id ={markerEndId }
319+ type ={typeof markerEnd === ' string' ? markerEnd : undefined }
320+ {...typeof markerEnd === ' object' ? markerEnd : null }
321+ />
322+ {/if }
319323 </slot >
320324
321325 {#if $$slots .start && $startPoint }
You can’t perform that action at this time.
0 commit comments