MCPcopy Create free account
hub / github.com/alignoth/alignoth / pickEvent

Method pickEvent

resources/vega.min.js:14449–14453  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

14447 return (i >= 0 && r.splice(i, 1), this);
14448 }
14449 pickEvent(t) {
14450 const e = av(t, this._canvas),
14451 n = this._origin;
14452 return this.pick(this._scene, e[0], e[1], e[0] - n[0], e[1] - n[1]);
14453 }
14454 pick(t, e, n, r, i) {
14455 const o = this.context();
14456 return Hy[t.marktype].pick.call(this, o, t, e, n, r, i);

Callers 2

touchstartMethod · 0.95
zvFunction · 0.80

Calls 2

pickMethod · 0.95
avFunction · 0.85

Tested by

no test coverage detected