From 3ebe1293e09db0d48bf85c19f39e902431a8a737 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 12 Aug 2024 10:08:23 +0200 Subject: [PATCH] Geolocation: improve handle on click --- src/UI/BigComponents/ThemeIntroPanel.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/UI/BigComponents/ThemeIntroPanel.svelte b/src/UI/BigComponents/ThemeIntroPanel.svelte index d0c88a4a6..e4d611ca3 100644 --- a/src/UI/BigComponents/ThemeIntroPanel.svelte +++ b/src/UI/BigComponents/ThemeIntroPanel.svelte @@ -34,6 +34,7 @@ let gpsAvailable = geolocation.gpsAvailable function jumpToCurrentLocation() { + state.geolocationControl.handleClick() const glstate = state.geolocation.geolocationState if (glstate.currentGPSLocation.data !== undefined) { const c: GeolocationCoordinates = glstate.currentGPSLocation.data