aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/elements/config
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-07 17:56:57 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-07 17:56:57 +0200
commit813f3193c6d017701948d32caa9c5b7ed07d083d (patch)
tree1a735f41ddb03a9fe501ac9f2b032e6a91cbadcc /src/main/java/cc/polyfrost/oneconfig/gui/elements/config
parent48d30c844ecbd132eee3a3c53597c9853d7cd4a3 (diff)
downloadOneConfig-813f3193c6d017701948d32caa9c5b7ed07d083d.tar.gz
OneConfig-813f3193c6d017701948d32caa9c5b7ed07d083d.tar.bz2
OneConfig-813f3193c6d017701948d32caa9c5b7ed07d083d.zip
finish config system rewrite
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/elements/config')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java
index 5c7c2c4..0e6695f 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java
@@ -20,8 +20,8 @@ public class ConfigPageButton extends BasicOption {
public final String description;
private final ColorAnimation backgroundColor = new ColorAnimation(ColorPalette.SECONDARY);
- public ConfigPageButton(Field field, Object parent, String name, String description, OptionPage page) {
- super(field, parent, name, "", "", 2);
+ public ConfigPageButton(Field field, Object parent, String name, String description, String category, String subcategory, OptionPage page) {
+ super(field, parent, name, category, subcategory, 2);
this.description = description;
this.page = page;
}