Skip to content

Commit f176785

Browse files
committed
Fix a bug when setting extent.
1 parent 5b27271 commit f176785

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

d3.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4045,9 +4045,11 @@ d3.svg.brush = function() {
40454045
.attr("width", 6)
40464046
.attr("height", 6)
40474047
.style("visibility", "hidden")
4048-
.style("pointer-events", brush.empty() ? "none" : "all")
40494048
.style("cursor", function(d) { return d3_svg_brushCursor[d]; });
40504049

4050+
// Update the resizers.
4051+
tz.style("pointer-events", brush.empty() ? "none" : "all");
4052+
40514053
// Remove any superfluous resizers.
40524054
tz.exit().remove();
40534055

0 commit comments

Comments
 (0)