Fix hover

This commit is contained in:
John Firebaugh
2013-01-30 10:57:26 -05:00
parent 7f0b449307
commit bfa823f71d
+2 -1
View File
@@ -119,6 +119,7 @@
})
.enter()
.append('td')
.attr('class', function (d) { return d.mode === 'selected' ? 'mode-select' : 'mode-browse'; })
.append('svg')
.attr('width', 200)
.attr('height', 30)
@@ -129,7 +130,7 @@
graph = iD.Graph([a, b, highway]);
d3.select(this)
.attr('class', d.mode === 'selected' ? 'mode-select' : 'mode-browse')
.attr('class', 'behavior-hover')
.call(vertices, graph, [a, b], filter)
.call(lines, graph, [highway], filter)
.call(midpoints, graph, [highway], filter)