Skip to content

Commit

Permalink
Save estimate settings when using keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
TFiFiE committed Nov 4, 2019
1 parent c8b30e9 commit dec1c7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/featurecat/lizzie/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ public void toggleShowPolicy() {

public void toggleKataGoEstimate() {
showKataGoEstimate = !showKataGoEstimate;
uiConfig.put("show-katago-estimate", showKataGoEstimate);
}

public void cycleKataGoEstimateMode() {
Expand Down Expand Up @@ -410,6 +411,7 @@ public void cycleKataGoEstimateMode() {
kataGoEstimateMode = "small";
break;
}
uiConfig.put("katago-estimate-mode", kataGoEstimateMode);
}

public void toggleShowStatus() {
Expand Down

0 comments on commit dec1c7e

Please sign in to comment.