From a5498a7cef859fc7bc307ce91bd7ecf8e61d308b Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sat, 4 Jan 2025 12:10:10 +0000 Subject: [PATCH] Don't change the neighbourhood rendering so much when viewing a particular shortcut --- web/src/ViewShortcutsMode.svelte | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/web/src/ViewShortcutsMode.svelte b/web/src/ViewShortcutsMode.svelte index e54b6bd..7e7bbf9 100644 --- a/web/src/ViewShortcutsMode.svelte +++ b/web/src/ViewShortcutsMode.svelte @@ -2,7 +2,7 @@ import type { Feature, FeatureCollection } from "geojson"; import type { LngLat } from "maplibre-gl"; import { onDestroy, onMount } from "svelte"; - import { FillLayer, GeoJSON, LineLayer } from "svelte-maplibre"; + import { GeoJSON, LineLayer } from "svelte-maplibre"; import { notNull } from "svelte-utils"; import { Popup } from "svelte-utils/map"; import { SplitComponent } from "svelte-utils/top_bar_layout"; @@ -101,6 +101,7 @@ +
@@ -161,26 +162,21 @@
{:else if state.state == "chose-road"} - - - + + {/if} +