MCPcopy Index your code
hub / github.com/DHTMLX/gantt / wheelEventPixels

Function wheelEventPixels

samples/common/codehighlight/codemirror.js:4468–4473  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

4466 return {x: dx, y: dy}
4467 }
4468 function wheelEventPixels(e) {
4469 var delta = wheelEventDelta(e);
4470 delta.x *= wheelPixelsPerUnit;
4471 delta.y *= wheelPixelsPerUnit;
4472 return delta
4473 }
4474
4475 function onScrollWheel(cm, e) {
4476 var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;

Callers

nothing calls this directly

Calls 1

wheelEventDeltaFunction · 0.85

Tested by

no test coverage detected