1
0
Fork 0

Update settings.js

master
nujw 2021-01-28 20:10:56 +13:00 committed by GitHub
parent c1aa5be1dd
commit 253f040a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@
const unitsMenu = { const unitsMenu = {
'': {'title': 'Units'}, '': {'title': 'Units'},
'< Back': { E.showMenu(appMenu); }, '< Back': function() { E.showMenu(appMenu); },
'default (spd)' : function() { setUnits(0,''); }, 'default (spd)' : function() { setUnits(0,''); },
"Kph (spd)" : function() { setUnits(1,'kph'); }, "Kph (spd)" : function() { setUnits(1,'kph'); },
"Knots (spd)" : function() { setUnits(1.852,'knots'); }, "Knots (spd)" : function() { setUnits(1.852,'knots'); },
@ -63,7 +63,7 @@
const dimDelayMenu = { const dimDelayMenu = {
'': {'title': 'Reduce Display'}, '': {'title': 'Reduce Display'},
'< Back': { E.showMenu(appMenu); }, '< Back': function() { E.showMenu(appMenu); },
'never' : function() { setDimDelay(0); }, 'never' : function() { setDimDelay(0); },
"1 min" : function() { setDimDelay(1); }, "1 min" : function() { setDimDelay(1); },
"2 mins" : function() { setDimDelay(2); }, "2 mins" : function() { setDimDelay(2); },
@ -74,7 +74,7 @@
const dimLevelMenu = { const dimLevelMenu = {
'': {'title': 'Display Brightness'}, '': {'title': 'Display Brightness'},
'< Back': { E.showMenu(appMenu); }, '< Back': function() { E.showMenu(appMenu); },
'80%' : function() { setDimLevel(0.8); }, '80%' : function() { setDimLevel(0.8); },
"60%" : function() { setDimLevel(0.6); }, "60%" : function() { setDimLevel(0.6); },
"40%" : function() { setDimLevel(0.4); }, "40%" : function() { setDimLevel(0.4); },
@ -84,7 +84,7 @@
const colMenu = { const colMenu = {
'': {'title': 'Colours'}, '': {'title': 'Colours'},
'< Back': { E.showMenu(appMenu); }, '< Back': function() { E.showMenu(appMenu); },
'Default' : function() { setColor(0); }, 'Default' : function() { setColor(0); },
"Hi Contrast" : function() { setColor(1); }, "Hi Contrast" : function() { setColor(1); },
"Night" : function() { setColor(2); } "Night" : function() { setColor(2); }