import { event } from 'd3-selection' ; /**
 * Filter which gestures fire which events which will get
 * interpreted as zoom/panning events within the chart.
 */ export const filterGestures = ( ) => { if ( event . type === 'wheel' ) { return false ; } if ( event . type === 'mousedown' ) { return event . shiftKey ; } return ! event . ctrlKey && ! event . button ; } ;