Allow color change of 'today' when selected.
This commit is contained in:
1 parent
668fc0f63d
commit
909a29d5e3
1 file changed
+1
-3
@@ -152,9 +152,7 @@ public class CalendarPanel extends JPanel {
|
||||
if (isSelected) {
|
||||
g.setColor(new Color(173, 216, 230));
|
||||
g.fillRect(x, y, cellWidth, cellHeight);
|
||||
}
|
||||
|
||||
if (isToday) {
|
||||
} else if (isToday) {
|
||||
g.setColor(new Color(255, 200, 100));
|
||||
g.fillRect(x, y, cellWidth, cellHeight);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user