manual submission redesign phase G

This commit is contained in:
Joren de Graaf
2026-10-06 20:04:21 +02:00
parent d112028eb1
commit c0c0bd7db8
11 changed files with 206 additions and 15 deletions
+4 -1
View File
@@ -25,7 +25,10 @@
const burstListener = createBurstListener();
const isUsableNumber = (value) => Number.isFinite(value);
const cardinalDirection = (heading) => ["N", "NE", "E", "SE", "S", "SW", "W", "NW"][Math.floor(((heading + 22.5) % 360) / 45)];
const cardinalDirection = (heading) => [
t.north || "North", t.northeast || "Northeast", t.east || "East", t.southeast || "Southeast",
t.south || "South", t.southwest || "Southwest", t.west || "West", t.northwest || "Northwest",
][Math.floor(((heading + 22.5) % 360) / 45)];
const displayDegrees = (value) => Number(value.toFixed(1)).toString();
const updateReportTime = () => {
if (!reportTime) return;