hrtraces minor

This commit is contained in:
Matthias Wirth
2021-12-18 10:09:44 +01:00
parent 8a6b32f805
commit bd586fd2e1

View File

@@ -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) + " "