Skip to content

Commit

Permalink
Removing pre filter on drag and applying it while points traversal (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
PT10 authored Jun 16, 2020
1 parent 4280dec commit 9b233bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/drag.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ ChartInternal.prototype.drag = function(mouse) {
main
.selectAll('.' + CLASS.shapes)
.selectAll('.' + CLASS.shape)
.filter(function(d) {
return config.data_selection_isselectable(d)
})
.each(function(d, i) {
if (!config.data_selection_isselectable(d)) {
return
}
var shape = d3.select(this),
isSelected = shape.classed(CLASS.SELECTED),
isIncluded = shape.classed(CLASS.INCLUDED),
Expand Down

0 comments on commit 9b233bf

Please sign in to comment.