Skip to content

Commit

Permalink
更新 HelloController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
iammmmmmm authored Oct 27, 2024
1 parent 2d5ed5c commit 14a20a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/caidanci/HelloController.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private void inputTimeUpdate() {
}

/**
* 获取颜色并
* 获取颜色
*/
private Color getColor(String letter, int index) {
if (answerWord.contains(letter)) {
Expand Down Expand Up @@ -321,7 +321,7 @@ private void showAlert(Alert.AlertType alertType, String title, String header, S
alert.setTitle(title);
alert.setHeaderText(header);
alert.setContentText(content);

alert.initOwner(inputTextFiled.getScene().getWindow());
alert.showAndWait();
}

Expand Down

0 comments on commit 14a20a1

Please sign in to comment.