From 6ba04833a00aa37af5077f77498888ce6b30bdff Mon Sep 17 00:00:00 2001 From: Romain Murphy Date: Thu, 1 May 2025 13:30:55 +0200 Subject: [PATCH] Color fix --- OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java b/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java index 8a53a74..5bc159f 100644 --- a/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java +++ b/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java @@ -80,7 +80,7 @@ public class JPanelChessBoard extends JPanel { @Override protected void paintComponent(Graphics g) { super.paintComponent(g); - this.setBackground(new Color(118, 150, 86)); + this.setBackground(new Color(115, 149, 82)); if(pieceSelectorMode) { g.drawImage( spriteSheet, @@ -97,7 +97,7 @@ public class JPanelChessBoard extends JPanel { float cellWidth = cellWidth(); float cellHeight = cellHeight(); - g.setColor(new Color(238,238,210)); + g.setColor(new Color(238,236,208)); for(int x=0; x