Skip to content

Commit

Permalink
Fix brush.move, again.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jun 3, 2016
1 parent e460829 commit 3477ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/brush.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ function brush(dim) {
var that = this,
args = arguments,
state = that.__brush,
selection = dim.input(typeof selection === "function" ? selection.apply(that, args) : selection, state.extent),
selection1 = dim.input(typeof selection === "function" ? selection.apply(that, args) : selection, state.extent),
emit = emitter(that, args).beforestart();

interrupt(that);
state.selection = empty(selection) ? null : selection;
state.selection = selection1 == null || empty(selection1) ? null : selection1;
redraw.call(that);
emit.start().brush().end();
});
Expand Down

0 comments on commit 3477ada

Please sign in to comment.