From bd586fd2e130c679727e73dc58452360efc608f4 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sat, 18 Dec 2021 10:09:44 +0100 Subject: [PATCH] hrtraces minor --- html/planeObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/planeObject.js b/html/planeObject.js index 4f5fc73..b9fd430 100644 --- a/html/planeObject.js +++ b/html/planeObject.js @@ -1803,7 +1803,7 @@ PlaneObject.prototype.updateLines = function() { } if (traces_high_res) { let zz = timestamp.slice(-2); - timestamp = timestamp.slice(0, -2) + '.' + (Math.round((seg.ts*10)) % 10) + zz; + timestamp = timestamp.slice(0, -2) + '.' + (Math.floor((seg.ts*10)) % 10) + zz; } let text = speed.padStart(3, NBSP) + " "