Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(geomap): change icon for rectangle tool
Elian Doranc980b8211cfa
diff --git a/apps/client/src/widgets/collections/geomap/EditToolbar.spec.tsx b/apps/client/src/widgets/collections/geomap/EditToolbar.spec.tsxindex 8e9f6f1860..7d66de54d3 100644--- a/apps/client/src/widgets/collections/geomap/EditToolbar.spec.tsx+++ b/apps/client/src/widgets/collections/geomap/EditToolbar.spec.tsx@@ -44,7 +44,7 @@ function renderBar({ map = {} as never, isReadOnly = false, placing = false, draconst DRAW_TOOL_ICONS: { tool: DrawTool; icon: string }[] = [{ tool: "line", icon: "bx-vector" },{ tool: "polygon", icon: "bx-shape-polygon" },- { tool: "rectangle", icon: "bx-rectangle" },+ { tool: "rectangle", icon: "bx-shape-square" },{ tool: "circle", icon: "bx-shape-circle" }];diff --git a/apps/client/src/widgets/collections/geomap/EditToolbar.tsx b/apps/client/src/widgets/collections/geomap/EditToolbar.tsxindex b744c70a0b..fd7de026c7 100644--- a/apps/client/src/widgets/collections/geomap/EditToolbar.tsx+++ b/apps/client/src/widgets/collections/geomap/EditToolbar.tsx@@ -28,7 +28,7 @@ interface EditToolbarProps {const DRAW_TOOLS: { tool: DrawTool; icon: string; title: () => string }[] = [{ tool: "line", icon: "bx-vector", title: () => t("geo-map.draw-line") },{ tool: "polygon", icon: "bx-shape-polygon", title: () => t("geo-map.draw-polygon") },- { tool: "rectangle", icon: "bx-rectangle", title: () => t("geo-map.draw-rectangle") },+ { tool: "rectangle", icon: "bx-shape-square", title: () => t("geo-map.draw-rectangle") },{ tool: "circle", icon: "bx-shape-circle", title: () => t("geo-map.draw-circle") }];