Buboard
{#each flagKeys as key (key)}
handleFlagClick(key)} oncontextmenu={(e) => handleFlagRightClick(e, key)} title="Position {key}" > {key}
{/each}
{coordX}, {coordY}
state.resetViewport()} title="Reset view (0, 0 at 100%)">
{zoomPercent}%
state.editGlobal(true)} title="Style" disabled={state.locked}>
state.setLocked(!state.locked)} title={state.locked ? 'Unlock' : 'Lock'} > {#if state.locked}
{:else}
{/if}
{#if onHide}
{/if}