Skip to content

Commit 31642a5

Browse files
committed
PB-2068: Format
1 parent 3f07af2 commit 31642a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/viewer/src/modules/map/components/toolbox/RecenterButton.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ const { t } = useI18n()
1616
1717
// Show recenter button when geolocation is active but not tracking
1818
const showRecenterButton = computed(() => {
19-
return geolocationStore.active && geolocationStore.position !== undefined && !geolocationStore.tracking
19+
return (
20+
geolocationStore.active &&
21+
geolocationStore.position !== undefined &&
22+
!geolocationStore.tracking
23+
)
2024
})
2125
2226
// Tooltip always shows "re-center map" since button is hidden when tracking

0 commit comments

Comments
 (0)