aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/app.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/js/app.js b/src/js/app.js
index 7ce31f9..e9ba104 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -22,7 +22,7 @@ var page = {
},
isWarning: true,
fuel: {
- percent: 100,
+ percent: 75,
level: 14,
range: 650,
avg: 25.5
@@ -81,10 +81,6 @@ export function simulate() {
page.rpm.percent = Math.min(80, Math.floor(Math.random()*90));
}
- page.fuel.percent = Math.round(page.fuel.percent - 0.01);
- page.fuel.level = Math.round(page.fuel.level - 0.01);
- page.fuel.range = Math.round(page.fuel.range - 0.01);
-
show();
if( counter > 600 ) {