diff --git a/static/css/index.css b/static/css/index.css index 555e661..51fddf4 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -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; } diff --git a/static/js/modes/wifi.js b/static/js/modes/wifi.js index 1842ca6..8fb44c4 100644 --- a/static/js/modes/wifi.js +++ b/static/js/modes/wifi.js @@ -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) { diff --git a/templates/index.html b/templates/index.html index e7a4bce..fdc14be 100644 --- a/templates/index.html +++ b/templates/index.html @@ -923,7 +923,7 @@