diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-08 20:08:40 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-08 20:08:40 +0200 |
commit | 9624c38e07c7f18ec754cf5ee14d54df31e708dc (patch) | |
tree | 82845f3d0827042ce01dcd9a9b7c2b5a5a0ec028 /src/main/java/cc/polyfrost/oneconfig/hud | |
parent | 618d1591edfcc688e4980bfc94f62e2992f7bec3 (diff) | |
download | OneConfig-9624c38e07c7f18ec754cf5ee14d54df31e708dc.tar.gz OneConfig-9624c38e07c7f18ec754cf5ee14d54df31e708dc.tar.bz2 OneConfig-9624c38e07c7f18ec754cf5ee14d54df31e708dc.zip |
forgot to migrate vigilance comp layer oops
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/hud')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/hud/HUDUtils.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/hud/HUDUtils.java b/src/main/java/cc/polyfrost/oneconfig/hud/HUDUtils.java index 758249a..3397264 100644 --- a/src/main/java/cc/polyfrost/oneconfig/hud/HUDUtils.java +++ b/src/main/java/cc/polyfrost/oneconfig/hud/HUDUtils.java @@ -31,13 +31,13 @@ public class HUDUtils { options.get(options.size() - 1).addDependency(() -> hud.enabled); options.add(new ConfigColorElement(hud.getClass().getField("borderColor"), hud, "Border color:", category, subcategory, 1)); options.get(options.size() - 1).addDependency(() -> hud.enabled && hud.border); - options.add(new ConfigSlider(hud.getClass().getField("cornerRadius"), hud, "Corner radius:", category, subcategory, 2, 0, 10, 0)); + options.add(new ConfigSlider(hud.getClass().getField("cornerRadius"), hud, "Corner radius:", category, subcategory, 0, 10, 0)); options.get(options.size() - 1).addDependency(() -> hud.enabled && hud.rounded); - options.add(new ConfigSlider(hud.getClass().getField("borderSize"), hud, "Border thickness:", category, subcategory, 2, 0, 10, 0)); + options.add(new ConfigSlider(hud.getClass().getField("borderSize"), hud, "Border thickness:", category, subcategory, 0, 10, 0)); options.get(options.size() - 1).addDependency(() -> hud.enabled && hud.border); - options.add(new ConfigSlider(hud.getClass().getField("paddingX"), hud, "X-Padding", category, subcategory, 2, 0, 50, 0)); + options.add(new ConfigSlider(hud.getClass().getField("paddingX"), hud, "X-Padding", category, subcategory, 0, 50, 0)); options.get(options.size() - 1).addDependency(() -> hud.enabled); - options.add(new ConfigSlider(hud.getClass().getField("paddingY"), hud, "Y-Padding", category, subcategory, 2, 0, 50, 0)); + options.add(new ConfigSlider(hud.getClass().getField("paddingY"), hud, "Y-Padding", category, subcategory, 0, 50, 0)); options.get(options.size() - 1).addDependency(() -> hud.enabled); } catch (NoSuchFieldException ignored) { } |