File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/com/github/jmatcj/ld43 Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
4
4
id ' idea'
5
5
}
6
6
7
- version = ' LD'
7
+ version = ' LD-Fix1 '
8
8
archivesBaseName = ' BoxExplorer'
9
9
10
10
jar {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public void init() throws Exception {
39
39
@ Override
40
40
public void start (Stage primaryStage ) {
41
41
Canvas canvas = new Canvas (SCREEN_WIDTH , SCREEN_HEIGHT );
42
- Scene scene = new Scene (new Group (canvas ), SCREEN_WIDTH - 10 , SCREEN_HEIGHT - 10 );
42
+ Scene scene = new Scene (new Group (canvas ));
43
43
primaryStage .setScene (scene );
44
44
GraphicsContext gc = canvas .getGraphicsContext2D ();
45
45
@@ -73,6 +73,7 @@ public void handle(long now) {
73
73
gameLoop .start ();
74
74
75
75
primaryStage .setResizable (false );
76
+ primaryStage .sizeToScene ();
76
77
primaryStage .setTitle ("Box Explorer" );
77
78
primaryStage .show ();
78
79
You can’t perform that action at this time.
0 commit comments