changed color

This commit is contained in:
Lucie 2025-04-24 19:51:17 +02:00
parent 0ea5fbaa49
commit 1233bf9fda
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public class JPanelChessBoard extends JPanel {
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
this.setBackground(Color.black);
this.setBackground(Color.blue);
if(pieceSelectorMode) {
g.drawImage(
spriteSheet,
@ -103,7 +103,7 @@ public class JPanelChessBoard extends JPanel {
boolean isSelect = myGame.isSelected(x,y);
boolean isHighlight = myGame.isHighlighted(x,y);
if(isSelect) {
g.setColor(Color.blue);
g.setColor(Color.green);
}
if(isHighlight) {
g.setColor(Color.yellow);