remove no clour bug interface

This commit is contained in:
isabe 2024-05-29 12:31:32 +02:00
parent f7c1def77c
commit 70473b2f94
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ public class JPanelDraw extends JPanel {
if(cellContent == 3) { if(cellContent == 3) {
g.setColor(Color.cyan); g.setColor(Color.cyan);
} }
if(cellContent == 4) {
g.setColor(Color.gray);
}
g.fillRect( g.fillRect(
(int) Math.round(x*cellWidth), (int) Math.round(x*cellWidth),
(int) Math.round(y*cellHeight), (int) Math.round(y*cellHeight),