Skip to content

Commit

Permalink
Corrected Cylinder Top-Offset editor field min values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fexcraft committed Feb 22, 2020
1 parent 83ecb1a commit a67b67e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/net/fexcraft/app/fmt/ui/editor/GeneralEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ public GeneralEditor(){
cylinder.getContainer().add(cyl2_x = new NumberField(4, pass += 24, 90, 20).setup("cyl2x", 0, Integer.MAX_VALUE, true));
cylinder.getContainer().add(cyl2_y = new NumberField(102, pass, 90, 20).setup("cyl2y", 0, Integer.MAX_VALUE, true));
cylinder.getContainer().add(new Label(translate("editor.general.cylinder.top_offset"), 3, pass += 24, 290, 20));
cylinder.getContainer().add(cyl3_x = new NumberField(4, pass += 24, 90, 20).setup("cyl3x", 1, Integer.MAX_VALUE, true));
cylinder.getContainer().add(cyl3_y = new NumberField(102, pass, 90, 20).setup("cyl3y", 1, Integer.MAX_VALUE, true));
cylinder.getContainer().add(cyl3_z = new NumberField(200, pass, 90, 20).setup("cyl3z", 0, Integer.MAX_VALUE, true));
cylinder.getContainer().add(cyl3_x = new NumberField(4, pass += 24, 90, 20).setup("cyl3x", Integer.MIN_VALUE, Integer.MAX_VALUE, true));
cylinder.getContainer().add(cyl3_y = new NumberField(102, pass, 90, 20).setup("cyl3y", Integer.MIN_VALUE, Integer.MAX_VALUE, true));
cylinder.getContainer().add(cyl3_z = new NumberField(200, pass, 90, 20).setup("cyl3z", Integer.MIN_VALUE, Integer.MAX_VALUE, true));
cylinder.getContainer().add(new Label(translate("editor.general.cylinder.top_rotation"), 3, pass += 24, 290, 20));
cylinder.getContainer().add(cyl7_x = new NumberField(4, pass += 24, 90, 20).setup("cyl7x", -360, 360, true));
cylinder.getContainer().add(cyl7_y = new NumberField(102, pass, 90, 20).setup("cyl7y", -360, 360, true));
Expand Down

0 comments on commit a67b67e

Please sign in to comment.