Skip to content

Commit 7e92998

Browse files
authored
Merge pull request #193 from runejs/fix-setbounds
fix: make setBounds check for canvas only
2 parents b70f18a + 9ed90b6 commit 7e92998

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)