Skip to content

Commit

Permalink
Increase default window size to 720p
Browse files Browse the repository at this point in the history
Now that the content is centered, it actually makes sense to use bigger
windows more suitable for modern screens.
  • Loading branch information
StenAL committed May 29, 2024
1 parent 8dbb360 commit 3a6fe29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/main/java/org/moparforia/client/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Game(JFrame frame, String server, int port, String lang, String username,
game.init();
game.start();
frame.add(game);
frame.setSize(WIDTH + 20, HEIGHT + 40);
frame.setSize(1280, 720);
frame.setResizable(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
Expand Down

0 comments on commit 3a6fe29

Please sign in to comment.