{#each strokes as stroke, index (index)} {@const pathData = getSvgPathFromStroke( getStroke(stroke.points, getStrokeOptions(stroke.size ?? 3)) )} {/each} {#if currentStroke.length > 0} {@const pathData = getSvgPathFromStroke( getStroke(currentStroke, getStrokeOptions(strokeSizes[strokeWidth])) )} {/if} {#if !isLocked && strokes.length === 0}
Lock to draw
{/if}
{#if isLocked}
{#each strokeSizes as size, index (size)} {/each}
{/if}