manual submission redesign phase G
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user