mirror of
https://git.wetfence.xyz/RandyTheSilly/Civic-Segments.git
synced 2026-09-05 10:07:14 -04:00
Add indicator for failed temperature fetching
This commit is contained in:
+3
-3
@@ -161,11 +161,11 @@ module.exports = [
|
||||
"sunlight": false,
|
||||
},
|
||||
{
|
||||
"id": "custom_color_low_fuel",
|
||||
"id": "custom_color_warning",
|
||||
"type": "color",
|
||||
"messageKey": "CLAY_LOW_FUEL_COLOR",
|
||||
"messageKey": "CLAY_WARNING_COLOR",
|
||||
"defaultValue": "ffaa00",
|
||||
"label": "Low fuel indicator color",
|
||||
"label": "Warning indicator color",
|
||||
"sunlight": false,
|
||||
}
|
||||
]
|
||||
|
||||
@@ -15,7 +15,7 @@ module.exports = function (minified) {
|
||||
clayConfig.getItemById('custom_color_hot_bars').set('ff0000');
|
||||
clayConfig.getItemById('custom_color_mg_time').set('555555');
|
||||
clayConfig.getItemById('custom_color_fg').set('ff0000');
|
||||
clayConfig.getItemById('custom_color_low_fuel').set('ffaa00');
|
||||
clayConfig.getItemById('custom_color_warning').set('ffaa00');
|
||||
break
|
||||
default:
|
||||
clayConfig.getItemById('custom_color_led').set('ffffff');
|
||||
@@ -25,7 +25,7 @@ module.exports = function (minified) {
|
||||
clayConfig.getItemById('custom_color_hot_bars').set('ff0000');
|
||||
clayConfig.getItemById('custom_color_mg_time').set('555555');
|
||||
clayConfig.getItemById('custom_color_fg').set('ffffff');
|
||||
clayConfig.getItemById('custom_color_low_fuel').set('ffaa00');
|
||||
clayConfig.getItemById('custom_color_warning').set('ffaa00');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ module.exports = function (minified) {
|
||||
clayConfig.getItemById('custom_color_hot_bars').show();
|
||||
clayConfig.getItemById('custom_color_mg_time').show();
|
||||
clayConfig.getItemById('custom_color_fg').show();
|
||||
clayConfig.getItemById('custom_color_low_fuel').show();
|
||||
clayConfig.getItemById('custom_color_warning').show();
|
||||
} else {
|
||||
setColorsToPreset();
|
||||
clayConfig.getItemById('color_preset_selector').show();
|
||||
@@ -50,7 +50,7 @@ module.exports = function (minified) {
|
||||
clayConfig.getItemById('custom_color_hot_bars').hide();
|
||||
clayConfig.getItemById('custom_color_mg_time').hide();
|
||||
clayConfig.getItemById('custom_color_fg').hide();
|
||||
clayConfig.getItemById('custom_color_low_fuel').hide();
|
||||
clayConfig.getItemById('custom_color_warning').hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user