Skip to content

Commit

Permalink
prepare for d3/d3-selection#248
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Jul 2, 2020
1 parent 578cb85 commit 77da571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brush.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function brush(dim) {
}

brush.move = function(group, selection) {
if (group.selection) {
if (group.selection && group.selection() !== group) {
group
.on("start.brush", function() { emitter(this, arguments).beforestart().start(); })
.on("interrupt.brush end.brush", function() { emitter(this, arguments).end(); })
Expand Down

0 comments on commit 77da571

Please sign in to comment.