mirror of
https://github.com/smittix/intercept.git
synced 2026-06-08 06:01:56 -07:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user