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

Function closeHostPanel

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

Source from the content-addressed store, hash-verified

4684 const mat = document.getElementById('wifi-hm-wall-mat').value;
4685 _wifiHm.walls.push({ x1: _wifiHm.wallStart.x, y1: _wifiHm.wallStart.y, x2: x, y2: y,
4686 loss_db: _WIFI_WALL_DB[mat] || 5, material: mat });
4687 _wifiHm.wallStart = null;
4688 _wifiHmPersistWalls();
4689 if (st) st.textContent = `${_wifiHm.walls.length} wall(s).`;
4690 wifiHeatmapRender();
4691 }
4692}
4693
4694function wifiHmUndoWall() {

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected