drag-select range elevation profile

This commit is contained in:
vcoppe
2024-06-12 12:13:30 +02:00
parent 5642129623
commit 9ad16ac294
5 changed files with 121 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
import { gpxStatistics, slicedGPXStatistics, splitAs } from '$lib/stores';
import { get } from 'svelte/store';
import { _ } from 'svelte-i18n';
import { tick } from 'svelte';
import { onDestroy, tick } from 'svelte';
import { Crop } from 'lucide-svelte';
import { dbUtils } from '$lib/db';
@@ -62,6 +62,10 @@
let splitType = splitTypes[0];
$: splitAs.set(splitType.value);
onDestroy(() => {
slicedGPXStatistics.set(undefined);
});
</script>
<div class="flex flex-col gap-3 max-w-80">