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:
Jordan Atwood
2019-03-15 17:08:42 -07:00
parent 14088cb66e
commit e78fe71892

View File

@@ -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;
}
}