mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
add missing buttons to default view
This commit is contained in:
@@ -266,23 +266,25 @@
|
|||||||
{$_('menu.new_segment')}
|
{$_('menu.new_segment')}
|
||||||
</Menubar.Item>
|
</Menubar.Item>
|
||||||
{/if}
|
{/if}
|
||||||
<Menubar.Separator />
|
{/if}
|
||||||
<Menubar.Item on:click={selectAll} disabled={$fileObservers.size == 0}>
|
<Menubar.Separator />
|
||||||
<FileStack size="16" class="mr-1" />
|
<Menubar.Item on:click={selectAll} disabled={$fileObservers.size == 0}>
|
||||||
{$_('menu.select_all')}
|
<FileStack size="16" class="mr-1" />
|
||||||
<Shortcut key="A" ctrl={true} />
|
{$_('menu.select_all')}
|
||||||
</Menubar.Item>
|
<Shortcut key="A" ctrl={true} />
|
||||||
<Menubar.Item
|
</Menubar.Item>
|
||||||
on:click={() => {
|
<Menubar.Item
|
||||||
if ($selection.size > 0) {
|
on:click={() => {
|
||||||
centerMapOnSelection();
|
if ($selection.size > 0) {
|
||||||
}
|
centerMapOnSelection();
|
||||||
}}
|
}
|
||||||
>
|
}}
|
||||||
<Maximize size="16" class="mr-1" />
|
>
|
||||||
{$_('menu.center')}
|
<Maximize size="16" class="mr-1" />
|
||||||
<Shortcut key="⏎" ctrl={true} />
|
{$_('menu.center')}
|
||||||
</Menubar.Item>
|
<Shortcut key="⏎" ctrl={true} />
|
||||||
|
</Menubar.Item>
|
||||||
|
{#if $verticalFileView}
|
||||||
<Menubar.Separator />
|
<Menubar.Separator />
|
||||||
<Menubar.Item on:click={copySelection} disabled={$selection.size === 0}>
|
<Menubar.Item on:click={copySelection} disabled={$selection.size === 0}>
|
||||||
<ClipboardCopy size="16" class="mr-1" />
|
<ClipboardCopy size="16" class="mr-1" />
|
||||||
|
Reference in New Issue
Block a user