New improvements
This commit is contained in:
parent
ab8f96a1c9
commit
3f3c561f2b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user