From 1b3c3bee5d7a513b7291d0dc3ee2144097aea22b Mon Sep 17 00:00:00 2001 From: root <165865819+brianshea2@users.noreply.github.com> Date: Sat, 5 Oct 2024 01:13:50 +0000 Subject: [PATCH] update opacity calculation --- website/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/index.html b/website/index.html index bb06a32..6ee02da 100644 --- a/website/index.html +++ b/website/index.html @@ -240,7 +240,7 @@ } const position = L.latLng([latitude, longitude].map(x => x / 10000000)) const lastSeen = Math.max(...Object.values(seenBy)) - const opacity = 1.0 - (Date.now() / 1000 - lastSeen) / 172800 + const opacity = 1.0 - (Date.now() / 1000 - lastSeen) / 129600 const tooltipContent = `${html(longName)} (${html(shortName)}) ${since(lastSeen)}` const popupContent = `