You can now resize all windows other than the title screen
#story[1087]
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user