boosts plugin: Fix overlay below-threshold color
This patch updates the boosts overlay to match the threshold color comparison used in the plugin (for notifications) and in the indicator infobox.
This commit is contained in:
@@ -137,7 +137,7 @@ class BoostsOverlay extends Overlay
|
||||
return new Color(238, 51, 51);
|
||||
}
|
||||
|
||||
return boost < config.boostThreshold() ? Color.YELLOW : Color.GREEN;
|
||||
return boost <= config.boostThreshold() ? Color.YELLOW : Color.GREEN;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user