MCPcopy Create free account
hub / github.com/google/pprof / handleScanMove

Function handleScanMove

internal/driver/html/common.js:119–127  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

117 }
118
119 function handleScanMove(e) {
120 if (e.buttons == 0) {
121 // Missed an end event, perhaps because mouse moved outside window.
122 setMode(IDLE);
123 svg.removeEventListener('mousemove', handleScanMove);
124 return;
125 }
126 if (mode == MOUSEPAN) panMove(e.clientX, e.clientY);
127 }
128
129 function handleScanEnd(e) {
130 if (mode == MOUSEPAN) panMove(e.clientX, e.clientY);

Callers

nothing calls this directly

Calls 2

setModeFunction · 0.85
panMoveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…