Skip to content

Commit 7d1e58b

Browse files
committed
PB-2068: Add arrows-to-circle icon for RecenterButton
Register faArrowsToCircle in FontAwesome library and use it in RecenterButton for better visual indication of tracking mode.
1 parent ef4688a commit 7d1e58b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function toggleTracking(): void {
5656
@click="toggleTracking"
5757
>
5858
<FontAwesomeIcon
59-
icon="location-crosshairs"
59+
icon="arrows-to-circle"
6060
transform="shrink-2"
6161
/>
6262
</button>

packages/viewer/src/setup-fontawesome.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
faArrowLeft,
2222
faArrowsAltH,
2323
faArrowsAltV,
24+
faArrowsToCircle,
2425
faArrowsUpDownLeftRight,
2526
faArrowUp,
2627
faBorderNone,
@@ -106,6 +107,7 @@ library.add(
106107
faArrowLeft,
107108
faArrowsAltH,
108109
faArrowsAltV,
110+
faArrowsToCircle,
109111
faArrowsUpDownLeftRight,
110112
faArrowUp,
111113
faBorderNone,

0 commit comments

Comments
 (0)