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

Function handleScanStart

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

Source from the content-addressed store, hash-verified

109 }
110
111 function handleScanStart(e) {
112 if (e.button != 0) return; // Do not catch right-clicks etc.
113 setMode(MOUSEPAN);
114 panStart(e.clientX, e.clientY);
115 e.preventDefault();
116 svg.addEventListener('mousemove', handleScanMove);
117 }
118
119 function handleScanMove(e) {
120 if (e.buttons == 0) {

Callers

nothing calls this directly

Calls 2

setModeFunction · 0.85
panStartFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…