From 5674f75a11f78f97fa5a9f607838457303a22d84 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Wed, 12 Feb 2020 14:52:49 -0800 Subject: [PATCH] Make the icons larger and centered on ImproveOSM and Osmose issue markers --- modules/svg/improveOSM.js | 6 +++--- modules/svg/osmose.js | 6 +++--- modules/ui/improveOSM_header.js | 6 +++--- modules/ui/osmose_header.js | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/svg/improveOSM.js b/modules/svg/improveOSM.js index 867732116..1e170f768 100644 --- a/modules/svg/improveOSM.js +++ b/modules/svg/improveOSM.js @@ -127,10 +127,10 @@ export function svgImproveOSM(projection, context, dispatch) { markersEnter .append('use') - .attr('transform', 'translate(-5.5, -21)') + .attr('transform', 'translate(-6.5, -23)') .attr('class', 'icon-annotation') - .attr('width', '11px') - .attr('height', '11px') + .attr('width', '13px') + .attr('height', '13px') .attr('xlink:href', d => { const picon = d.icon; diff --git a/modules/svg/osmose.js b/modules/svg/osmose.js index 1dc482424..9ab1087cb 100644 --- a/modules/svg/osmose.js +++ b/modules/svg/osmose.js @@ -127,10 +127,10 @@ export function svgOsmose(projection, context, dispatch) { markersEnter .append('use') - .attr('transform', 'translate(-5.5, -21)') + .attr('transform', 'translate(-6.5, -23)') .attr('class', 'icon-annotation') - .attr('width', '11px') - .attr('height', '11px') + .attr('width', '13px') + .attr('height', '13px') .attr('xlink:href', d => { const picon = d.icon; diff --git a/modules/ui/improveOSM_header.js b/modules/ui/improveOSM_header.js index 5fffbe2af..a38aae4ef 100644 --- a/modules/ui/improveOSM_header.js +++ b/modules/ui/improveOSM_header.js @@ -52,9 +52,9 @@ export function uiImproveOsmHeader() { svgEnter .append('use') .attr('class', 'icon-annotation') - .attr('width', '11px') - .attr('height', '11px') - .attr('transform', 'translate(4.5, 7)') + .attr('width', '13px') + .attr('height', '13px') + .attr('transform', 'translate(3.5, 5)') .attr('xlink:href', d => { const picon = d.icon; diff --git a/modules/ui/osmose_header.js b/modules/ui/osmose_header.js index 83dac6213..bf7a3c065 100644 --- a/modules/ui/osmose_header.js +++ b/modules/ui/osmose_header.js @@ -48,9 +48,9 @@ export function uiOsmoseHeader() { svgEnter .append('use') .attr('class', 'icon-annotation') - .attr('width', '11px') - .attr('height', '11px') - .attr('transform', 'translate(4.5, 7)') + .attr('width', '13px') + .attr('height', '13px') + .attr('transform', 'translate(3.5, 5)') .attr('xlink:href', d => { const picon = d.icon;