aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java25
1 files changed, 15 insertions, 10 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java b/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java
index bc0e3a9..874abd2 100644
--- a/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java
+++ b/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java
@@ -35,10 +35,17 @@ import cc.polyfrost.oneconfig.platform.Platform;
import cc.polyfrost.oneconfig.utils.TickDelay;
public class Preferences extends InternalConfig {
+
+ @Dropdown(
+ name = "Release Channel",
+ options = {"Releases", "Pre-Releases"}
+ )
+ public static int updateChannel = 0;
+
@Switch(
- name = "Enable Blur"
+ name = "Debug Mode"
)
- public static boolean enableBlur = true;
+ public static boolean DEBUG = false;
@KeyBind(
name = "OneConfig Keybind",
@@ -46,23 +53,21 @@ public class Preferences extends InternalConfig {
)
public static OneKeyBind oneConfigKeyBind = new OneKeyBind(UKeyboard.KEY_RSHIFT);
- @Dropdown(
- name = "Release Channel",
- options = {"Releases", "Pre-Releases"},
- size = 2
+ @Switch(
+ name = "Enable Blur",
+ subcategory = "GUI Settings"
)
- public static int updateChannel = 0;
+ public static boolean enableBlur = true;
@Switch(
name = "Use custom GUI scale",
- subcategory = "GUI Scale",
- size = 2
+ subcategory = "GUI Settings"
)
public static boolean enableCustomScale = false;
@Slider(
name = "Custom GUI scale",
- subcategory = "GUI Scale",
+ subcategory = "GUI Settings",
min = 0.5f,
max = 5f
)