Skip to content

Commit c1ddad7

Browse files
authored
Add plugin page link and update contributors. (#1039)
* Add plugin page link. Update contributers. Add Java to licenses. * Remove Java and JavaFX license as they are not bundled (yet).
1 parent 9773418 commit c1ddad7

2 files changed

Lines changed: 10 additions & 26 deletions

File tree

chunky/src/java/se/llbit/chunky/ui/CreditsController.java

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public class CreditsController implements Initializable {
4848
@FXML private Hyperlink fastMathLicense;
4949
@FXML private Hyperlink fastutil;
5050
@FXML private Hyperlink fastutilLicense;
51-
@FXML private Hyperlink javafx;
52-
@FXML private Hyperlink javafxLicense;
5351

5452
@FXML private VBox pluginBox;
5553
@FXML private ImageView logoImage;
@@ -117,22 +115,18 @@ public void initialize(URL location, ResourceBundle resources) {
117115
fastutilLicense.setBorder(Border.EMPTY);
118116
fastutilLicense.setOnAction(e -> launchAndReset(fastutilLicense, "http://www.apache.org/licenses/LICENSE-2.0"));
119117

120-
javafx.setBorder(Border.EMPTY);
121-
javafx.setOnAction(e -> launchAndReset(javafx, "https://openjfx.io/"));
122-
javafxLicense.setBorder(Border.EMPTY);
123-
javafxLicense.setOnAction(e -> launchAndReset(javafxLicense, "https://github.com/openjdk/jfx/blob/master/LICENSE"));
124-
125118
if (plugins.size() > 0) {
126119
plugins.forEach((key, item) -> pluginBox.getChildren().addAll(buildBox(item)));
127120
} else {
128-
Label label = new Label("You have no plugins installed!");
121+
Label label = new Label("You have no plugins activated!");
129122
label.setPadding(new Insets(0, 0, 0 ,-10.0));
130123
pluginBox.getChildren().add(label);
131-
132-
Hyperlink pluginLink = new Hyperlink("Get some plugins here!");
133-
pluginLink.setOnAction(e -> launchAndReset(pluginLink, "https://jackjt8.github.io/ChunkyGuide/docs/setup/plugins.html"));
134-
pluginBox.getChildren().add(pluginLink);
135124
}
125+
126+
Hyperlink pluginLink = new Hyperlink("Get plugins here!");
127+
pluginLink.setPadding(new Insets(0, 0, 0, -10.0));
128+
pluginLink.setOnAction(e -> launchAndReset(pluginLink, "https://chunky-dev.github.io/docs/plugins/"));
129+
pluginBox.getChildren().add(pluginLink);
136130
}
137131

138132
public void setStage(Stage stage) {

chunky/src/res/se/llbit/chunky/ui/Credits.fxml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
</Label>
5959
<VBox>
6060
<children>
61-
<Label text="a_Tom" />
62-
<Label text="Redox (alexhliu)" />
61+
<Label text="aTom3333" />
62+
<Label text="ThatRedox" />
6363
<Label text="TOGoS" />
6464
<Label text="NotStirred" />
65+
<Label text="IceSelkie" /> <!-- 11 commits with old email. https://discord.com/channels/541221265512464394/545374333883777037/879549715811819540 -->
6566
<Label text="jackjt8" />
66-
<Label text="073TheBoss" />
67-
<Label text="Ice Selkie (StanleyMines)" />
67+
<Label text="ThisIsBrady" />
6868

6969
<Hyperlink fx:id="ghContributors" text="Show more..." />
7070
</children>
@@ -123,16 +123,6 @@
123123
<Insets left="20.0" />
124124
</padding>
125125
</Hyperlink>
126-
127-
<Hyperlink fx:id="javafx" text="JavaFX" />
128-
<Hyperlink fx:id="javafxLicense" text="GPLv2 + ce">
129-
<font>
130-
<Font size="10.0" />
131-
</font>
132-
<padding>
133-
<Insets left="20.0" />
134-
</padding>
135-
</Hyperlink>
136126
</children>
137127
<padding>
138128
<Insets left="10.0" />

0 commit comments

Comments
 (0)