drag-select range elevation profile

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

No files matched your search

@@ -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">