From 58e221dd480f013247b87c0f1678b90403b660c7 Mon Sep 17 00:00:00 2001
From: Darrell
Date: Sat, 18 Nov 2023 06:33:13 -0500
Subject: [PATCH] Fix aspect ratio (#407)
---
ui/src/lib/Map.svelte | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/lib/Map.svelte b/ui/src/lib/Map.svelte
index 8a90877b..f4a83d1c 100644
--- a/ui/src/lib/Map.svelte
+++ b/ui/src/lib/Map.svelte
@@ -39,7 +39,7 @@
{#if bounds}
-
+ [0, Math.min(height, width)]} yRange={({ height, width }) => [Math.min(height, width), 0]} flatData={ bounds } xReverse={ false } yReverse={ true } padding={ {top: 16, left: 16, bottom: 16, right: 16} }>