{ box.focus(); }} > {#if supportsAutospace}
join_inner
{ const autospace = hasAutospace; if ((event.target as HTMLInputElement).checked) { if (chord.phrase[0] !== JOIN_ACTION) { insertAction(0, JOIN_ACTION); moveCursor(cursorPosition + 1, true); } } else { if (chord.phrase[0] === JOIN_ACTION) { deleteAction(0, 1); await tick(); moveCursor(cursorPosition - 1, true); } } await tick(); resolveAutospace(autospace); }} type="checkbox" />
{/if}
(hasFocus = true)} onfocusout={(event) => { if (event.relatedTarget !== button) hasFocus = false; }} > {#if hasFocus}
add
{:else}
{/if} {#each chord.phrase as action, i} {#if isHidden(action, i, chord.phrase)}
{:else}
{/if} {/each}
{#if supportsAutospace}
space_bar
resolveAutospace((event.target as HTMLInputElement).checked)} type="checkbox" />
{/if}
•