Fix adaptive weather presets layout

This commit is contained in:
nonokirby
2026-04-22 11:24:08 -04:00
committed by firestar5683
parent 9563a0e09a
commit 52673ca927
@@ -1087,8 +1087,18 @@
"description": "Automatically adjust driving behavior based on real-time weather. Helps maintain comfort and safety in low visibility, rain, or snow.",
"data_type": "bool",
"ui_type": "toggle",
"is_parent_toggle": true
"parent_key": "QOLLongitudinal"
},
{
"key": "LowVisiblityWeather",
"label": "Low Visibility (fog)",
"description": "Customise settings for driving in low visibility situations",
"data_type": "bool",
"ui_type": "toggle",
"is_parent_toggle": true,
"parent_key": "WeatherPresets"
},
{
"key": "IncreaseFollowingLowVisibility",
"label": "Increase Following Distance by:",
@@ -1097,7 +1107,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 3.0,
"step": 0.01
"step": 0.01,
"parent_key": "LowVisiblityWeather"
},
{
"key": "IncreasedStoppedDistanceLowVisibility",
@@ -1106,7 +1117,8 @@
"data_type": "float",
"ui_type": "numeric",
"min": 0.0,
"max": 10.0
"max": 10.0,
"parent_key": "LowVisiblityWeather"
},
{
"key": "ReduceAccelerationLowVisibility",
@@ -1116,7 +1128,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "LowVisiblityWeather"
},
{
"key": "ReduceLateralAccelerationLowVisibility",
@@ -1126,7 +1139,17 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "LowVisiblityWeather"
},
{
"key": "RainWeather",
"label": "Light/Medium Rain",
"description": "Customise settings for driving in light & medium rain",
"data_type": "bool",
"ui_type": "toggle",
"is_parent_toggle": true,
"parent_key": "WeatherPresets"
},
{
"key": "IncreaseFollowingRain",
@@ -1136,7 +1159,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 3.0,
"step": 0.01
"step": 0.01,
"parent_key": "RainWeather"
},
{
"key": "IncreasedStoppedDistanceRain",
@@ -1145,7 +1169,8 @@
"data_type": "float",
"ui_type": "numeric",
"min": 0.0,
"max": 10.0
"max": 10.0,
"parent_key": "RainWeather"
},
{
"key": "ReduceAccelerationRain",
@@ -1155,7 +1180,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "RainWeather"
},
{
"key": "ReduceLateralAccelerationRain",
@@ -1165,7 +1191,17 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "RainWeather"
},
{
"key": "HeavyRainWeather",
"label": "Heavy Rain",
"description": "Customise settings for driving in heavy rain",
"data_type": "bool",
"ui_type": "toggle",
"is_parent_toggle": true,
"parent_key": "WeatherPresets"
},
{
"key": "IncreaseFollowingRainStorm",
@@ -1175,7 +1211,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 3.0,
"step": 0.01
"step": 0.01,
"parent_key": "HeavyRainWeather"
},
{
"key": "IncreasedStoppedDistanceRainStorm",
@@ -1184,7 +1221,8 @@
"data_type": "float",
"ui_type": "numeric",
"min": 0.0,
"max": 10.0
"max": 10.0,
"parent_key": "HeavyRainWeather"
},
{
"key": "ReduceAccelerationRainStorm",
@@ -1194,7 +1232,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "HeavyRainWeather"
},
{
"key": "ReduceLateralAccelerationRainStorm",
@@ -1204,7 +1243,17 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "HeavyRainWeather"
},
{
"key": "SnowWeather",
"label": "Snow",
"description": "Customise settings for driving in snow",
"data_type": "bool",
"ui_type": "toggle",
"is_parent_toggle": true,
"parent_key": "WeatherPresets"
},
{
"key": "IncreaseFollowingSnow",
@@ -1214,7 +1263,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 3.0,
"step": 0.01
"step": 0.01,
"parent_key": "SnowWeather"
},
{
"key": "IncreasedStoppedDistanceSnow",
@@ -1223,7 +1273,8 @@
"data_type": "float",
"ui_type": "numeric",
"min": 0.0,
"max": 10.0
"max": 10.0,
"parent_key": "SnowWeather"
},
{
"key": "ReduceAccelerationSnow",
@@ -1233,7 +1284,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "SnowWeather"
},
{
"key": "ReduceLateralAccelerationSnow",
@@ -1243,7 +1295,8 @@
"ui_type": "numeric",
"min": 0.0,
"max": 99.0,
"step": 1.0
"step": 1.0,
"parent_key": "SnowWeather"
},
{
"key": "SpeedLimitController",