Fixed resizing issue when using a custom board config
This commit is contained in:
parent
e9605a51ab
commit
2473a5b785
@ -90,6 +90,7 @@ public class Board extends JPanel {
|
|||||||
board[i][j] = new Tile();
|
board[i][j] = new Tile();
|
||||||
initMines();
|
initMines();
|
||||||
repaint();
|
repaint();
|
||||||
|
revalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user