{#snippet controls()} {#if qualities.length > 1} {#snippet trigger(props)} {/snippet} choose()}> {#if auto}{/if} Auto{auto && active?.height ? ` (${active.height}p)` : ''} {#each qualities as q (q.height)} choose(q)}> {#if !auto && active?.height === q.height}{/if} {q.height}p {/each} {/if} {/snippet}