From b8aa42e5564714a4fbf611ccae42ed3b6905405c Mon Sep 17 00:00:00 2001 From: Jacob <42344274+jacobk999@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:55:07 -0400 Subject: fix(config): chat height have a reasonable limit (#5) Makes it so the chat height can only go up to 2,160. 10,000 is super unreasonable and makes it harder to get a precise number. It would be best if you could just type in the number. --- src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt index 4684e22..ae2187f 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt @@ -89,7 +89,7 @@ object ChattingConfig : @Property( type = PropertyType.SLIDER, min = 180, - max = 10000, + max = 2160, name = "Focused Height", description = "Height in pixels.", category = "Chat Window" @@ -99,7 +99,7 @@ object ChattingConfig : @Property( type = PropertyType.SLIDER, min = 180, - max = 10000, + max = 2160, name = "Unfocused Height", description = "Height in pixels.", category = "Chat Window" @@ -219,4 +219,4 @@ object ChattingConfig : } } } -} \ No newline at end of file +} -- cgit