mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 09:34:04 +02:00
Fix node hovers. Fixes #260
This commit is contained in:
@@ -154,12 +154,8 @@ iD.Map = function() {
|
||||
')';
|
||||
})
|
||||
// This doesn't work, need to figure out a better way to make attribute changes
|
||||
.attr('r', function() {
|
||||
if (handles.classed('active') || handles.classed('hover')) {
|
||||
return 8;
|
||||
} else {
|
||||
return 4;
|
||||
}
|
||||
.attr('r', function(d) {
|
||||
return d.id === hover ? 8: 4;
|
||||
})
|
||||
.classed('active', classActive)
|
||||
.classed('hover', classHover);
|
||||
|
||||
Reference in New Issue
Block a user