d3/d3-brush

Allow multitouch filter.

mbostock opened this issue · 0 comments

Similar to d3/d3-zoom#176, it’d be nice if we could support brush.filter such that more than one touch is required to brush. Currently we ignore any touchstart where changedTouches.length < touches.length, meaning it’s not possible to have a second touch initiate brushing. However, if we tracked the id of the touch that initiated brushing, then we could do the right thing.