{#each [['thin', '가늘게'], ['normal', '보통'], ['thick', '굵게']] as [w, label]} {/each} stroke {strokes.length}
{#if snapshotErr} {snapshotErr} {/if}
e.preventDefault()} onselectstart={(e) => e.preventDefault()} class="block" style="touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; cursor: {tool === 'eraser' ? 'cell' : 'crosshair'};" > {#if DBG}
type:{dbg.lastType} p:{dbg.lastPressure.toFixed(2)}
down:{dbg.down} move:{dbg.move} up:{dbg.up} cancel:{dbg.cancel}
rejType:{dbg.rejectedByType} rejId:{dbg.rejectedByPointerId} coal:{dbg.coalesced}
drawing:{isDrawing ? 'Y' : 'N'} actId:{activePointerId ?? '-'} infPts:{inflight?.points.length ?? 0}
strokes:{strokes.length}
{/if}