diff --git a/css/20_map.css b/css/20_map.css index f5d905031..cfb553b11 100644 --- a/css/20_map.css +++ b/css/20_map.css @@ -351,7 +351,7 @@ g.vertex.highlighted .shadow { .highlight-edited g.points g.node.vertex.added > circle.shadow, .highlight-edited g.points g.node.vertex.retagged > circle.shadow, .highlight-edited g.points g.node.vertex.moved > circle.shadow { - fill-opacity: 1; + fill-opacity: 0.8; } .highlight-edited g.points g.node.vertex.added > circle.shadow { fill: rgb(133, 255, 103); @@ -367,7 +367,7 @@ g.vertex.highlighted .shadow { .highlight-edited g.points g.node.point.added > path.shadow, .highlight-edited g.points g.node.point.retagged > path.shadow, .highlight-edited g.points g.node.point.moved > path.shadow { - stroke-opacity: 1; + stroke-opacity: 0.8; stroke-width: 10; } .highlight-edited g.points g.node.point.added > path.shadow { diff --git a/modules/svg/vertices.js b/modules/svg/vertices.js index 60241d32a..1448324d5 100644 --- a/modules/svg/vertices.js +++ b/modules/svg/vertices.js @@ -242,15 +242,11 @@ export function svgVertices(projection, context) { targets.exit() .remove(); - var threeFourths = function (num) { - return (Math.round(3 * num) / 4).toFixed(2); - }; // enter/update targets.enter() .append('circle') .attr('r', function(d) { - return isEditedEntity(d, base, graph) && threeFourths(_radii[d.id]) - || _radii[d.id] + return _radii[d.id] || radiuses.shadow[3]; }) .merge(targets)