We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0d950 commit 2c9ef59Copy full SHA for 2c9ef59
1 file changed
Source/Things/Gearbox.as
@@ -235,6 +235,12 @@ class DashboardGearbox : DashboardThing
235
color = GearColor(gear);
236
}
237
238
+ if (rpm <= Setting_Gearbox_Downshift && gear >= 2) {
239
+ color = Setting_Gearbox_LowRPMColor;
240
+ } else if (rpm >= Setting_Gearbox_Upshift && gear <= MAX_GEAR - 1) {
241
+ color = Setting_Gearbox_HighRPMColor;
242
+ }
243
+
244
float lightPadding = 8.0f;
245
float spaceForPadding = lightPadding * float(MAX_GEAR + 1);
246
float lightSize = (size.x - spaceForPadding) / float(MAX_GEAR);
0 commit comments