From fabbd67f778b166e833bf9772f92367ac4ef9916 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Fri, 23 Feb 2024 15:11:57 -0800 Subject: [PATCH] style: truncate heading degree decimal --- client/src/lib/Dashboard/Compass.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/lib/Dashboard/Compass.svelte b/client/src/lib/Dashboard/Compass.svelte index 8b91963..de3a3a2 100644 --- a/client/src/lib/Dashboard/Compass.svelte +++ b/client/src/lib/Dashboard/Compass.svelte @@ -20,7 +20,7 @@

- Heading {getDirection(orientation)} ({orientation}°) + Heading {getDirection(orientation)} ({orientation.toFixed(2)}°)

{getAcceleration(accResolved)} ({mpss2knps(accResolved).toFixed(2)}