remove structure from toolbar

This commit is contained in:
vcoppe
2024-05-24 16:40:42 +02:00
parent 19d3fd9316
commit eaab84c49d
2 changed files with 2 additions and 7 deletions

View File

@@ -55,10 +55,6 @@
<Palette slot="icon" size="18" />
<span slot="tooltip">{$_('toolbar.style_tooltip')}</span>
</ToolbarItem>
<ToolbarItem tool={Tool.STRUCTURE}>
<FolderTree slot="icon" size="18" />
<span slot="tooltip">{$_('toolbar.structure_tooltip')}</span>
</ToolbarItem>
</div>
<Routing />
<Waypoint />

View File

@@ -7,7 +7,7 @@ import { _ } from 'svelte-i18n';
import type { GPXLayer } from '$lib/components/gpx-layer/GPXLayer';
import { settings, dbUtils, fileObservers } from './db';
import { selection } from '$lib/components/file-list/Selection';
import { ListFileItem, ListWaypointItem, type ListItem } from '$lib/components/file-list/FileList';
import { ListFileItem, ListWaypointItem } from '$lib/components/file-list/FileList';
export const map = writable<mapboxgl.Map | null>(null);
export const selectFiles = writable<{ [key: string]: (fileId?: string) => void }>({});
@@ -124,8 +124,7 @@ export enum Tool {
WAYPOINT,
REDUCE,
CLEAN,
STYLE,
STRUCTURE
STYLE
}
export const currentTool = writable<Tool | null>(null);