{ tool = 'pen' dispatch('clear') }} />
{ tool = 'pen' }} />
{ tool = 'erase' }} /> {#if showPanTool}
{ tool = 'pan' }} /> {/if}
{#if tool === 'pen'}
{:else}
{/if}
{#each penColors as color}
{ tool = 'pen' selectColor(color) }} >
{/each}