Init applet size to scaled UI size

This commit is contained in:
Alex Iadicicco 2022-12-12 01:16:34 -08:00 committed by Alexis King
parent 58f1b0398b
commit cacdc533b0

View File

@ -134,7 +134,7 @@ public final class ShatteredPlansLauncher {
}
});
frame.setContentPane(app);
stub.appletResize(640, 480);
stub.appletResize(ShatteredPlansClient.SCREEN_WIDTH, ShatteredPlansClient.SCREEN_HEIGHT);
app.init();
app.start();
// canvas exists now