MCPcopy Create free account
hub / github.com/breck7/scroll / defaultFilter

Function defaultFilter

external/.d3.js:19616–19618  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

19614// Ignore right-click, since that should open the context menu.
19615// except for pinch-to-zoom, which is sent as a wheel+ctrlKey event
19616function defaultFilter(event) {
19617 return (!event.ctrlKey || event.type === 'wheel') && !event.button;
19618}
19619
19620function defaultExtent() {
19621 var e = this;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected