Show steps in k.

pull/1948/head
David Peer 2022-06-12 18:01:47 +02:00
parent 6ef45a4258
commit d734f92118
1 changed files with 1 additions and 6 deletions

View File

@ -113,12 +113,7 @@ function getSteps() {
return "? k";
}
// Show always 2 digits. E.g. 1.5k if < 10000 otherwise 12k
if(steps > 10000){
steps = Math.round(steps/1000);
} else {
steps = Math.round(steps/100) / 10;
}
steps = Math.round(steps/1000);
return steps + "k";
}