Restore drag.filter.
Restore drag.filter.

It’s convenient to have this separate from drag.subject being null, such that if
you redefine drag.subject, you aren’t required to re-implement the default
filter (to ignore right-clicks). Also, the filter is called once per initiating
input event, while the subject is called once per starting pointer.

d3/d3-drag