New improvements

This commit is contained in:
Robert Vokac 2024-01-27 20:14:29 +00:00
parent ab8f96a1c9
commit 3f3c561f2b
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055
2 changed files with 1 additions and 1 deletions

View File

View File

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