mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Added close button for keyBindingDialog.
- fixed that you cannot bind the key you are using. #story[1278] #pair[hyi25, zyt10]
This commit is contained in:
@@ -23,6 +23,8 @@ public class KeyBindingDialogController implements Initializable {
|
||||
|
||||
//--------FXML BEGIN--------//
|
||||
@FXML
|
||||
private Label closeLabel;
|
||||
@FXML
|
||||
private JFXButton zoomInbtn;
|
||||
@FXML
|
||||
private JFXButton zoomOutBtn;
|
||||
@@ -73,6 +75,8 @@ public class KeyBindingDialogController implements Initializable {
|
||||
gameKeyBind.setToDefault();
|
||||
loadKeyBind();
|
||||
});
|
||||
|
||||
closeLabel.setOnMouseClicked(event -> ViewManager.getInstance().closeKeyBindingDialog());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -171,4 +175,5 @@ public class KeyBindingDialogController implements Initializable {
|
||||
public void setGameClient(GameClient gameClient) {
|
||||
this.gameClient = gameClient;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user