Skip to content

Commit

Permalink
Fix crash in brush.move.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jun 3, 2016
1 parent 1a39ce1 commit 2127250
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 @@ -209,9 +209,9 @@ function brush(dim) {
.each(function() {
var that = this,
args = arguments,
state = that.__brush,
selection = dim.input(typeof selection === "function" ? selection.apply(that, args) : selection, state.extent),
emit = emitter(that, args).beforestart(),
state = that.__brush;
emit = emitter(that, args).beforestart();

interrupt(that);
state.selection = empty(selection) ? null : selection;
Expand Down

0 comments on commit 2127250

Please sign in to comment.