Skip to content

Build your personal knowledge base with Trilium Notes

chore(geomap): use a different icon for copying coordinates

Elian Doran90a0876cbd30
diff --git a/apps/client/src/widgets/collections/geomap/ContextMenus.ts b/apps/client/src/widgets/collections/geomap/ContextMenus.ts
index 243edb987f..2ea7b66a55 100644
--- a/apps/client/src/widgets/collections/geomap/ContextMenus.ts
+++ b/apps/client/src/widgets/collections/geomap/ContextMenus.ts
@@ -171,7 +171,7 @@ function buildGeoLocationItem(e: GeoMouseEvent) {
return [
{
title: formatLocation(coordinates),
- uiIcon: "bx bx-current-location",
+ uiIcon: "bx bx-crosshair",
handler: () => copyTextWithToast(formatLocation(coordinates, 15))
},
{
diff --git a/apps/client/src/widgets/collections/geomap/DetailPane.tsx b/apps/client/src/widgets/collections/geomap/DetailPane.tsx
index afa771cd29..39d1c607d3 100644
--- a/apps/client/src/widgets/collections/geomap/DetailPane.tsx
+++ b/apps/client/src/widgets/collections/geomap/DetailPane.tsx
@@ -637,7 +637,7 @@ export function LocationButton({ coordinates }: { coordinates: [number, number]
className="geo-detail-pane-location"
onClick={() => copyTextWithToast(formatLocation(coordinates, FULL_PRECISION))}
>
- <span className="bx bx-current-location" />
+ <span className="bx bx-crosshair" />
{formatLocation(coordinates)}
</button>
);