mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 00:32:33 +00:00
delete waypoint
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
import { onDestroy, onMount } from 'svelte';
|
||||
import { map } from '$lib/stores';
|
||||
import { resetCursor, setCrosshairCursor } from '$lib/utils';
|
||||
import { CircleX } from 'lucide-svelte';
|
||||
import { CirclePlus, CircleX, RefreshCw } from 'lucide-svelte';
|
||||
|
||||
let name: string;
|
||||
let description: string;
|
||||
@@ -164,7 +164,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-3 w-80">
|
||||
<div class="flex flex-col gap-3 w-96">
|
||||
<fieldset class="flex flex-col gap-2">
|
||||
<Label for="name">{$_('toolbar.waypoint.name')}</Label>
|
||||
<Input bind:value={name} id="name" class="font-semibold h-8" />
|
||||
@@ -207,8 +207,10 @@
|
||||
on:click={createOrUpdateWaypoint}
|
||||
>
|
||||
{#if $selectedWaypoint}
|
||||
<RefreshCw size="16" class="mr-1" />
|
||||
{$_('toolbar.waypoint.update')}
|
||||
{:else}
|
||||
<CirclePlus size="16" class="mr-1" />
|
||||
{$_('toolbar.waypoint.create')}
|
||||
{/if}
|
||||
</Button>
|
||||
|
Reference in New Issue
Block a user