Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kaorahi committed Dec 31, 2023
2 parents 630444d + 5d9ef8e commit 117edd1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/featurecat/lizzie/rules/Board.java
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,14 @@ public void reopen(int width, int height) {
clear();
Lizzie.leelaz.boardSize(boardWidth, boardHeight);
Lizzie.frame.setForceRefresh(true);
Lizzie.frame.refresh();
Lizzie.frame.removeEstimateRect();
if (Lizzie.leelaz.isPondering()) {
// The above boardSize() stops pondering.
// To restart it, call togglePonder() twice.
Lizzie.leelaz.togglePonder(); // turn off
Lizzie.leelaz.togglePonder(); // turn on ==> restart pondering
}
}
}

Expand Down

0 comments on commit 117edd1

Please sign in to comment.