Allow color change of 'today' when selected.

This commit is contained in:
2026-02-27 13:17:59 +01:00
parent 668fc0f63d
commit 909a29d5e3

View File

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