remove no clour bug interface
This commit is contained in:
parent
f7c1def77c
commit
70473b2f94
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue