fix(wifi): radar bssidToAngle divisor, Firefox SVG transform-origin, zone label clarity

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
James Smith
2026-03-26 22:31:21 +00:00
parent 4c37d39e07
commit 56ebdd7670
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -3856,6 +3856,7 @@ header h1 .tagline {
.wifi-zone.far .wifi-zone-count { color: var(--accent-red); }
.wifi-radar-sweep {
transform-box: view-box;
transform-origin: 105px 105px;
animation: wifi-radar-rotate 3s linear infinite;
}
+1 -1
View File
@@ -1497,7 +1497,7 @@ const WiFiMode = (function() {
for (let i = 0; i < bssid.length; i++) {
hash = (hash * 31 + bssid.charCodeAt(i)) & 0xffffffff;
}
return (hash >>> 0) / 0xffffffff * 2 * Math.PI;
return (hash >>> 0) / 0x100000000 * 2 * Math.PI;
}
function renderRadar(networksList) {
+1 -1
View File
@@ -923,7 +923,7 @@
<div class="wifi-zone-summary">
<div class="wifi-zone near">
<span class="wifi-zone-count" id="wifiZoneImmediate">0</span>
<span class="wifi-zone-label">Near</span>
<span class="wifi-zone-label">Close</span>
</div>
<div class="wifi-zone mid">
<span class="wifi-zone-count" id="wifiZoneNear">0</span>