Skip to content

Commit 9ed90b6

Browse files
committed
fix: make setBounds check for canvas only
1 parent b70f18a commit 9ed90b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/runejs/client/frame/ScreenController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static void refreshFrameSize() {
8282
}
8383

8484
public static void setBounds() {
85-
if (Game.gameCanvas == null || Game.signlink.gameShell == null) {
85+
if (Game.gameCanvas == null) {
8686
return;
8787
}
8888
Dimension innerSize = getInnerSize(GameShell.clientFrame);

0 commit comments

Comments
 (0)