brush(x) for touch event error
shenhua59 opened this issue · comments
神话 commented
When using brush.filter(filter), the touch screen will report an error, the computer mouse will not, is there a solution
error code position
function touchmoved(event) {
emitter(this, arguments).moved(event);
}
function touchended(event) {
emitter(this, arguments).ended(event);
}
报错 brush.js:581 Uncaught TypeError: emitter(...).moved is not a function
at SVGGElement.touchmoved (brush.js:581:30)
at SVGGElement. (on.js:3:14)