From fb78deeed49a81e88ceca94e220599aacefd1c3a Mon Sep 17 00:00:00 2001 From: Daniel Vinci Date: Fri, 30 Apr 2021 14:23:28 -0600 Subject: [PATCH] globe sizing --- src/components/Globe.svelte | 782 ++++++++++++++++++------------------ src/routes/index.svelte | 4 +- 2 files changed, 394 insertions(+), 392 deletions(-) diff --git a/src/components/Globe.svelte b/src/components/Globe.svelte index 74645e3..a315408 100644 --- a/src/components/Globe.svelte +++ b/src/components/Globe.svelte @@ -1,335 +1,304 @@ -
- -
- click and drag -
-
- - - - async function animateSats(elapsed) { - var dateInMsI1 = await activeClock.elapsed(elapsed); - var dateInMs = dateInMsI1.date(); - var date = new Date(await dateInMs); +
+ +
click and drag
+
- updateSats(date); - draw(); - window.requestAnimationFrame(animateSats); + diff --git a/src/routes/index.svelte b/src/routes/index.svelte index ad34e27..3b8983e 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -15,7 +15,7 @@
- +
@@ -105,7 +105,7 @@ .hero .container { grid-template-columns: auto; - grid-template-rows: 200px auto; + grid-template-rows: 260px auto; } }