mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 08:42:31 +00:00
remove structure from toolbar
This commit is contained in:
@@ -55,10 +55,6 @@
|
|||||||
<Palette slot="icon" size="18" />
|
<Palette slot="icon" size="18" />
|
||||||
<span slot="tooltip">{$_('toolbar.style_tooltip')}</span>
|
<span slot="tooltip">{$_('toolbar.style_tooltip')}</span>
|
||||||
</ToolbarItem>
|
</ToolbarItem>
|
||||||
<ToolbarItem tool={Tool.STRUCTURE}>
|
|
||||||
<FolderTree slot="icon" size="18" />
|
|
||||||
<span slot="tooltip">{$_('toolbar.structure_tooltip')}</span>
|
|
||||||
</ToolbarItem>
|
|
||||||
</div>
|
</div>
|
||||||
<Routing />
|
<Routing />
|
||||||
<Waypoint />
|
<Waypoint />
|
||||||
|
@@ -7,7 +7,7 @@ import { _ } from 'svelte-i18n';
|
|||||||
import type { GPXLayer } from '$lib/components/gpx-layer/GPXLayer';
|
import type { GPXLayer } from '$lib/components/gpx-layer/GPXLayer';
|
||||||
import { settings, dbUtils, fileObservers } from './db';
|
import { settings, dbUtils, fileObservers } from './db';
|
||||||
import { selection } from '$lib/components/file-list/Selection';
|
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 map = writable<mapboxgl.Map | null>(null);
|
||||||
export const selectFiles = writable<{ [key: string]: (fileId?: string) => void }>({});
|
export const selectFiles = writable<{ [key: string]: (fileId?: string) => void }>({});
|
||||||
@@ -124,8 +124,7 @@ export enum Tool {
|
|||||||
WAYPOINT,
|
WAYPOINT,
|
||||||
REDUCE,
|
REDUCE,
|
||||||
CLEAN,
|
CLEAN,
|
||||||
STYLE,
|
STYLE
|
||||||
STRUCTURE
|
|
||||||
}
|
}
|
||||||
export const currentTool = writable<Tool | null>(null);
|
export const currentTool = writable<Tool | null>(null);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user