{#each keyTextOrIconList(shortcut.shortcut) as group} {#if "label" in group[0] || "icon" in group[0]}
{#each group as item} {#if "label" in item && item.label} {item.label} {:else if "icon" in item && item.icon} {/if} {/each}
{/if} {#if "mouseMotion" in group[0]} {#each group as item} {#if "mouseMotion" in item && item.mouseMotion}
{/if} {/each} {/if} {/each}