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();
|
BoatCustomizeController controller = dialog.getController();
|
||||||
|
|
||||||
controller.setParentController(this);
|
controller.setParentController(this);
|
||||||
|
controller.setPlayerColor(this.playersColor);
|
||||||
|
|
||||||
return customizationDialog;
|
return customizationDialog;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -727,8 +727,7 @@ public class RaceViewController extends Thread implements ImportantAnnotationDel
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isChatInputFocused() {
|
public boolean isChatInputFocused() {
|
||||||
// return chatInput.focusedProperty().getValue();
|
return chatInput.focusedProperty().getValue();
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String readChatInput() {
|
public String readChatInput() {
|
||||||
|
|||||||
@@ -43,8 +43,6 @@ public class BoatCustomizeController implements Initializable{
|
|||||||
submitCustomization();
|
submitCustomization();
|
||||||
});
|
});
|
||||||
|
|
||||||
setPlayerColor(lobbyController.playersColor);
|
|
||||||
|
|
||||||
socketThread = ViewManager.getInstance().getGameClient().getServerThread();
|
socketThread = ViewManager.getInstance().getGameClient().getServerThread();
|
||||||
|
|
||||||
RequiredFieldValidator playerNameReqValidator = new RequiredFieldValidator();
|
RequiredFieldValidator playerNameReqValidator = new RequiredFieldValidator();
|
||||||
|
|||||||
Reference in New Issue
Block a user