mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-05 09:52:54 +00:00
toggle elevation profile
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
import { settings } from '$lib/db';
|
||||
|
||||
const { verticalFileView } = settings;
|
||||
const { verticalFileView, elevationProfile } = settings;
|
||||
</script>
|
||||
|
||||
<div class="flex flex-row w-screen h-screen">
|
||||
@@ -29,9 +29,11 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="h-48 flex flex-row gap-2 overflow-hidden">
|
||||
<div class="{$elevationProfile ? 'h-48' : 'h-10'} flex flex-row gap-2 overflow-hidden">
|
||||
<GPXStatistics />
|
||||
<ElevationProfile />
|
||||
{#if $elevationProfile}
|
||||
<ElevationProfile />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{#if $verticalFileView}
|
||||
|
Reference in New Issue
Block a user