diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-01 13:40:59 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-01 13:40:59 +0200 |
commit | 2f80fd07d3d6863c26bca21b46bd71cb467a2b1a (patch) | |
tree | 207d01f1305b8f8d0fcd5f65d89e8c7ee783ad6f /src/main/java/io/polyfrost/oneconfig/config/interfaces | |
parent | eea8a7b60344637df1318b04e11ccf1cdc7c4c12 (diff) | |
parent | 9694fd2bf0aa538652b9c65472c5f2017efce195 (diff) | |
download | OneConfig-2f80fd07d3d6863c26bca21b46bd71cb467a2b1a.tar.gz OneConfig-2f80fd07d3d6863c26bca21b46bd71cb467a2b1a.tar.bz2 OneConfig-2f80fd07d3d6863c26bca21b46bd71cb467a2b1a.zip |
merge
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/interfaces')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java b/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java index 8ed51f8..ca151db 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java +++ b/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java @@ -115,7 +115,7 @@ public class Config { options.add(new ConfigTextBox(field, option.name(), option.size(), option.placeholder(), option.secure(), option.multiLine())); break; case DUAL_OPTION: - options.add(new ConfigDualOption(field, option.name(), option.size(), option.optionLeft(), option.optionRight())); + options.add(new ConfigDualOption(field, option.name(), option.size(), option.options())); break; case UNI_SELECTOR: options.add(new ConfigUniSelector(field, option.name(), option.size(), option.options())); @@ -123,6 +123,9 @@ public class Config { case DROPDOWN: options.add(new ConfigDropdown(field, option.name(), option.size(), option.options())); break; + case SLIDER: + options.add(new ConfigSlider(field, option.name(), option.size(), option.min(), option.max(), option.step())); + break; } } } |