We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f07af2 commit 31642a5Copy full SHA for 31642a5
packages/viewer/src/modules/map/components/toolbox/RecenterButton.vue
@@ -16,7 +16,11 @@ const { t } = useI18n()
16
17
// Show recenter button when geolocation is active but not tracking
18
const showRecenterButton = computed(() => {
19
- return geolocationStore.active && geolocationStore.position !== undefined && !geolocationStore.tracking
+ return (
20
+ geolocationStore.active &&
21
+ geolocationStore.position !== undefined &&
22
+ !geolocationStore.tracking
23
+ )
24
})
25
26
// Tooltip always shows "re-center map" since button is hidden when tracking
0 commit comments