From db881cbaf1544b53511a303ed18685181ba80f39 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Mon, 30 Sep 2024 13:10:15 +0200 Subject: [PATCH] disable poi form inputs if no selection --- .../components/toolbar/tools/Waypoint.svelte | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/website/src/lib/components/toolbar/tools/Waypoint.svelte b/website/src/lib/components/toolbar/tools/Waypoint.svelte index f9629c95..1e81d7f8 100644 --- a/website/src/lib/components/toolbar/tools/Waypoint.svelte +++ b/website/src/lib/components/toolbar/tools/Waypoint.svelte @@ -20,7 +20,7 @@ import { onDestroy, onMount } from 'svelte'; import { map } from '$lib/stores'; import { getURLForLanguage, resetCursor, setCrosshairCursor } from '$lib/utils'; - import { CirclePlus, CircleX, Save } from 'lucide-svelte'; + import { MapPin, CircleX, Save } from 'lucide-svelte'; import { getSymbolKey, symbols } from '$lib/assets/symbols'; let name: string; @@ -181,12 +181,21 @@
- + -