diff --git a/website/src/lib/components/Menu.svelte b/website/src/lib/components/Menu.svelte
index f811c91aa..00ede01e1 100644
--- a/website/src/lib/components/Menu.svelte
+++ b/website/src/lib/components/Menu.svelte
@@ -293,19 +293,6 @@
{i18n._('menu.style.button')}
- engine.setSelectionHidden(!$allHidden)}
- disabled={selectionCount == 0}
- >
- {#if $allHidden}
-
- {i18n._('menu.unhide')}
- {:else}
-
- {i18n._('menu.hide')}
- {/if}
-
-
{#if $treeFileView}
{#if $selection.type === 'file'}
@@ -353,18 +340,6 @@
{i18n._('menu.select_all')}
- {
- if (selectionCount > 0) {
- boundsManager.centerMapOnSelection();
- }
- }}
- disabled={selectionCount == 0}
- >
-
- {i18n._('menu.center')}
-
-
{#if $treeFileView}
engine.copy()} disabled={selectionCount === 0}>
@@ -429,6 +404,34 @@
/>
+ engine.setSelectionHidden(!$allHidden)}
+ disabled={selectionCount == 0}
+ >
+ {#if $allHidden}
+
+ {i18n._('menu.unhide')}
+ {:else}
+
+ {i18n._('menu.hide')}
+ {/if}
+
+
+ {
+ if (selectionCount > 0) {
+ boundsManager.centerMapOnSelection();
+ }
+ }}
+ disabled={selectionCount == 0}
+ >
+
+ {i18n._('menu.center')}
+
+
+
map.toggle3D()}>
{i18n._('menu.toggle_3d')}
diff --git a/website/src/lib/components/file-list/FileListNodeLabel.svelte b/website/src/lib/components/file-list/FileListNodeLabel.svelte
index c5e20d466..692107144 100644
--- a/website/src/lib/components/file-list/FileListNodeLabel.svelte
+++ b/website/src/lib/components/file-list/FileListNodeLabel.svelte
@@ -259,18 +259,8 @@
{i18n._('menu.style.button')}
+
{/if}
- engine.setSelectionHidden(!$allHidden)}>
- {#if $allHidden}
-
- {i18n._('menu.unhide')}
- {:else}
-
- {i18n._('menu.hide')}
- {/if}
-
-
-
{#if orientation === 'vertical'}
{#if node.type === 'file'}
engine.newTrack()}>
@@ -301,18 +291,29 @@
{/if}
{/if}
+ engine.setSelectionHidden(!$allHidden)}>
+ {#if $allHidden}
+
+ {i18n._('menu.unhide')}
+ {:else}
+
+ {i18n._('menu.hide')}
+ {/if}
+
+
+ boundsManager.centerMapOnSelection()}>
+
+ {i18n._('menu.center')}
+
+
{#if level !== 'waypoints'}
+
engine.selectAll()}>
{i18n._('menu.select_all')}
{/if}
- boundsManager.centerMapOnSelection()}>
-
- {i18n._('menu.center')}
-
-
engine.duplicate()}>
diff --git a/website/src/lib/docs/en/menu/edit.mdx b/website/src/lib/docs/en/menu/edit.mdx
index 77e8ca960..f736d7b28 100644
--- a/website/src/lib/docs/en/menu/edit.mdx
+++ b/website/src/lib/docs/en/menu/edit.mdx
@@ -3,7 +3,7 @@ title: Edit actions
---
@@ -27,10 +27,6 @@ Open the information dialog of the currently selected file item, where you can s
Open the appearance dialog, where you can change the color, opacity, and width of the selected file items on the map.
-### Hide/unhide
-
-Toggle the visibility of the selected file items on the map.
-
### New track
Create a new track in the selected file.
@@ -57,10 +53,6 @@ Additionally, the selection must be a single track.
Add all file items in the current hierarchy level to the selection.
-### Center
-
-Center the map on the selected file items.
-
### Copy
Copy the selected file items to the clipboard.
diff --git a/website/src/lib/docs/en/menu/view.mdx b/website/src/lib/docs/en/menu/view.mdx
index b812c2f78..a28bc622d 100644
--- a/website/src/lib/docs/en/menu/view.mdx
+++ b/website/src/lib/docs/en/menu/view.mdx
@@ -3,7 +3,7 @@ title: View options
---
@@ -38,6 +38,14 @@ They are displayed for the current selection, like the [elevation profile](../fi
Toggle the visibility of direction arrows on the map.
+### Hide/unhide
+
+Toggle the visibility of the selected file items on the map.
+
+### Center
+
+Center the map on the selected file items.
+
### Toggle 3D
Enter or exit the 3D map view.