MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _stopThreatMonitorPoll

Function _stopThreatMonitorPoll

web/scripts/ragnar_modern.js:4550–4555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4548}
4549
4550// Screen-space radius (px) a column is drawn at — kept in sync with _wifiHmDrawDesign.
4551function _wifiHmColumnPxRadius(c, vp) {
4552 const floorM = _wifiHmFloorM();
4553 const pxPerM = vp.pw / (vp.span * floorM);
4554 return Math.max(5, (c.radius_m || 0.3) * pxPerM);
4555}
4556
4557// Hit-test a pointer position (p = {px,py,wx,wy,vp} from norm()) against AP
4558// nodes (top), column resize handles, column bodies, then wall endpoints, then

Callers 2

toggleThreatMonitorFunction · 0.70
_startThreatMonitorPollFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected