You can now resize all windows other than the title screen

#story[1087]
This commit is contained in:
hba56
2017-07-27 13:05:56 +12:00
parent 59058da09c
commit 85347c169d
3 changed files with 15 additions and 3 deletions
@@ -9,6 +9,7 @@ import javafx.scene.control.RadioButton;
import javafx.scene.image.Image;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
import visualiser.app.App;
import java.io.IOException;
import java.net.URL;
@@ -39,7 +40,7 @@ public class TitleController extends Controller {
public void hostAGame() throws IOException {
titleWrapper.setVisible(false);
parent.hostGame();
App.getStage().setResizable(true);
}
public void enterTitle(){
@@ -53,6 +54,7 @@ public class TitleController extends Controller {
public void joinAGame() {
titleWrapper.setVisible(false);
parent.enterLobby();
App.getStage().setResizable(true);
}
public void setDayMode(){