Skip to content

Commit

Permalink
Fix color map selection in GUI
Browse files Browse the repository at this point in the history
The order was broken, probably got scrambled in a merge.
  • Loading branch information
piegamesde committed May 26, 2020
1 parent 31d520d commit 12013bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
public class BlockColorMap {

public enum InternalColorMap {
DEFAULT("default"), OCEAN_GROUND("water"), NO_FOLIAGE("foliage"), CAVES("caves"), X_RAY("x-ray"), RAILS("rails");
DEFAULT("default"), CAVES("caves"), NO_FOLIAGE("foliage"), OCEAN_GROUND("water"), X_RAY("x-ray"), RAILS("rails");

private String fileName;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
GridPane.columnIndex="1">
<items>
<FXCollections fx:factory="observableArrayList">
<!-- Keep same order as in InternalColorMap -->
<String fx:value="Default" />
<String fx:value="Caves" />
<String fx:value="No foliage" />
Expand Down

0 comments on commit 12013bb

Please sign in to comment.