mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 08:42:31 +00:00
adapt routing icon
This commit is contained in:
@@ -14,7 +14,8 @@
|
|||||||
Route,
|
Route,
|
||||||
TriangleAlert,
|
TriangleAlert,
|
||||||
ArrowRightLeft,
|
ArrowRightLeft,
|
||||||
Home
|
Home,
|
||||||
|
RouteOff
|
||||||
} from 'lucide-svelte';
|
} from 'lucide-svelte';
|
||||||
|
|
||||||
import { map, selectedFiles, Tool } from '$lib/stores';
|
import { map, selectedFiles, Tool } from '$lib/stores';
|
||||||
@@ -97,8 +98,13 @@
|
|||||||
<ToolbarItemMenu tool={Tool.ROUTING} bind:active>
|
<ToolbarItemMenu tool={Tool.ROUTING} bind:active>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<div slot="data" class="w-full flex flex-row justify-between items-center gap-2">
|
<div slot="data" class="w-full flex flex-row justify-between items-center gap-2">
|
||||||
<Label for="routing" class="flex flex-row gap-1"
|
<Label for="routing" class="flex flex-row gap-1">
|
||||||
><Route size="16" />{$_('toolbar.routing.use_routing')}</Label
|
{#if $routing}
|
||||||
|
<Route size="16" />
|
||||||
|
{:else}
|
||||||
|
<RouteOff size="16" />
|
||||||
|
{/if}
|
||||||
|
{$_('toolbar.routing.use_routing')}</Label
|
||||||
>
|
>
|
||||||
<Switch id="routing" class="scale-90" bind:checked={$routing} />
|
<Switch id="routing" class="scale-90" bind:checked={$routing} />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user