mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
- Fixed a bug in new customize dialog.
- Chat should work correctly when pressing enter now. tags : #story[1245]
This commit is contained in:
@@ -128,6 +128,7 @@ public class LobbyController implements Initializable {
|
||||
BoatCustomizeController controller = dialog.getController();
|
||||
|
||||
controller.setParentController(this);
|
||||
controller.setPlayerColor(this.playersColor);
|
||||
|
||||
return customizationDialog;
|
||||
}
|
||||
|
||||
@@ -727,8 +727,7 @@ public class RaceViewController extends Thread implements ImportantAnnotationDel
|
||||
}
|
||||
|
||||
public boolean isChatInputFocused() {
|
||||
// return chatInput.focusedProperty().getValue();
|
||||
return false;
|
||||
return chatInput.focusedProperty().getValue();
|
||||
}
|
||||
|
||||
public String readChatInput() {
|
||||
|
||||
@@ -43,8 +43,6 @@ public class BoatCustomizeController implements Initializable{
|
||||
submitCustomization();
|
||||
});
|
||||
|
||||
setPlayerColor(lobbyController.playersColor);
|
||||
|
||||
socketThread = ViewManager.getInstance().getGameClient().getServerThread();
|
||||
|
||||
RequiredFieldValidator playerNameReqValidator = new RequiredFieldValidator();
|
||||
|
||||
Reference in New Issue
Block a user