diff --git a/highlight.txt b/highlight.txt deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/java/rvc/timecalc/Battery.java b/src/main/java/rvc/timecalc/Battery.java index 22fb37b..72ce84d 100644 --- a/src/main/java/rvc/timecalc/Battery.java +++ b/src/main/java/rvc/timecalc/Battery.java @@ -75,7 +75,7 @@ public class Battery extends JPanel { } super.paintComponent(g); Graphics2D g2d = (Graphics2D) g; - g2d.setColor(FOREGROUND_COLOR); + g2d.setColor(Utils.highlighted.get() ? Color.WHITE : FOREGROUND_COLOR); g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);