Skip to content

Commit

Permalink
Center client window, default size to 1024x768 (insets are annoying)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pazaz committed Jun 20, 2022
1 parent 41ea81d commit a63bf74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/main/java/rt4/client.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ public static void main(@OriginalArg(0) String[] arg0) {
@Pc(146) client c = new client();
instance = c;
c.startApplication(modeWhat + 32, "runescape");
GameShell.frame.setLocation(40, 40);
GameShell.frame.setSize(768, 530); //set a reasonable size by default
GameShell.frame.setLocationRelativeTo(null);
GameShell.frame.setSize(1024, 768); // set a reasonable size by default
} catch (@Pc(167) Exception ex) {
TracingException.report(null, ex);
}
Expand Down

0 comments on commit a63bf74

Please sign in to comment.