Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Sep 12, 2021
2 parents f868d52 + 0e3cb85 commit 26775c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/featurecat/lizzie/gui/ConfigDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ public void stateChanged(ChangeEvent e) {
}
}
});
sldBoardPositionProportion.setValue(4);
sldBoardPositionProportion.setValue(Lizzie.frame.boardPositionProportion);
sldBoardPositionProportion.setMaximum(8);
sldBoardPositionProportion.setBounds(170, 333, 200, 28);
uiTab.add(sldBoardPositionProportion);
Expand Down Expand Up @@ -1212,7 +1212,6 @@ protected DocumentFilter getDocumentFilter() {
chkShowBestMovesByHold.setSelected(Lizzie.config.showBestMovesByHold);
chkNotRefreshVariation.setSelected(Lizzie.config.notRefreshVariation);
chkColorByWinrateInsteadOfVisits.setSelected(Lizzie.config.colorByWinrateInsteadOfVisits);
sldBoardPositionProportion.setValue(Lizzie.config.boardPositionProportion);
txtLimitBestMoveNum.setText(String.valueOf(Lizzie.config.limitBestMoveNum));
txtLimitBranchLength.setText(String.valueOf(Lizzie.config.limitBranchLength));
chkShowWinrateInSuggestion.setSelected(Lizzie.config.showWinrateInSuggestion);
Expand Down

0 comments on commit 26775c1

Please sign in to comment.