Better active state for areas

This commit is contained in:
Tom MacWright
2012-11-13 12:33:06 -05:00
parent 23a0470f44
commit fb6a7658c6
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ circle.teaser-point {
}
.area.active {
fill-opacity:0.4;
stroke-width:3 !important;
}
.area.natural {
+2 -1
View File
@@ -143,7 +143,8 @@ iD.Map = function(elem) {
fills.enter().append('path')
.on('click', selectClick);
fills.attr('d', nodeline)
.attr('class', class_area);
.attr('class', class_area)
.classed('active', classActive);
// Casings
casings.exit().remove();