diff --git a/src/lib/components/TimeLine.svelte b/src/lib/components/TimeLine.svelte index 7526a4a..df9642e 100644 --- a/src/lib/components/TimeLine.svelte +++ b/src/lib/components/TimeLine.svelte @@ -1,6 +1,7 @@ -
-
-
- Time: - {timeElapsed} -
- {#if currentPosition} -
- Altitude: - {Math.round(currentPosition.alt)} m -
-
- Position: - {currentPosition.lat.toFixed(4)}, {currentPosition.lng.toFixed(4)} -
- {/if} +
+
e.key === 'Enter' && handleToggleCollapse()} + > + Flight Timeline +
-
-
- + {#if !isCollapsed} +
+
+
+ Time: + {timeElapsed} +
+ {#if currentPosition} +
+ Altitude: + {Math.round(currentPosition.alt)} m +
+
+ Position: + {currentPosition.lat.toFixed(4)}, {currentPosition.lng.toFixed(4)} +
+ {/if} +
- {#if !isPlaying} - - {:else} - - {/if} +
+
+ - + {#if !isPlaying} + + {:else} + + {/if} + + +
+ +
+ +
+
- -
- -
-
-
+ {/if}