Skip to content

Commit c338380

Browse files
committed
- Fixed bug with GraalVM
- Changed chaotic template to be faster
1 parent b107fe8 commit c338380

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/stl/threebodysimulation/DefaultTemplates.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ SimulationSettings getSettings() {
8080
return new SimulationSettings(
8181
new Particle[]{
8282
new Particle(
83-
150, 50, -15, -30, 1, 1, Color.RED
83+
150, 50, -15, -30, 3, 1, Color.RED
8484
),
8585
new Particle(
86-
50, -150, 5, 40, 1, 2, Color.GREEN
86+
50, -150, 5, 40, 3, 2, Color.GREEN
8787
),
8888
new Particle(
89-
-200, -50, 10, -10, 1, 3, Color.BLUE
89+
-200, -50, 10, -10, 3, 3, Color.BLUE
9090
)
9191
},
9292
true,

src/main/java/stl/threebodysimulation/SavesPanelFXMLController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void refreshSaves(String searchPrompt) {
125125
templatesFound = true;
126126

127127
DefaultSavePreviewFXMLController saveController = SceneFXMLController.loadLayout(
128-
"/stl/threebodysimulation/layouts/DefaultSavePreviewLayout.fxml",
128+
"/stl/threebodysimulation/layouts/defaultSavePreviewLayout.fxml",
129129
node -> defaultSavesBox.getChildren().add(node)
130130
);
131131

0 commit comments

Comments
 (0)